Error message shows up again.
This commit is contained in:
parent
c764f89881
commit
ec7c6e8ad9
@ -652,19 +652,6 @@ let_expr(right_expr):
|
||||
disj_expr_level:
|
||||
disj_expr
|
||||
| conj_expr_level { $1 }
|
||||
| "_" type_annotation_simple {
|
||||
let (colon, type_expr) = $2 in
|
||||
EAnnot {
|
||||
value = {
|
||||
inside = (
|
||||
EVar { value = "_"; region = $1 }, colon, type_expr
|
||||
);
|
||||
lpar = Region.ghost;
|
||||
rpar = Region.ghost;
|
||||
};
|
||||
region = Region.ghost;
|
||||
}
|
||||
}
|
||||
| par(tuple(disj_expr_level)) type_annotation_simple? {
|
||||
let region = $1.region in
|
||||
let tuple = ETuple {value=$1.value.inside; region} in
|
||||
@ -796,6 +783,7 @@ common_expr:
|
||||
| "<bytes>" { EBytes $1 }
|
||||
| "<ident>" | module_field { EVar $1 }
|
||||
| projection { EProj $1 }
|
||||
| "_" { EVar {value = "_"; region = $1} }
|
||||
| update_record { EUpdate $1 }
|
||||
| "<string>" { EString (String $1) }
|
||||
| unit { EUnit $1 }
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -5,6 +5,6 @@ type storage = big_map (int, bar);
|
||||
|
||||
type return = (list (operation), storage);
|
||||
|
||||
let main = ((ignore, store): (unit, storage)): return => {
|
||||
let main = ((_, store): (unit, storage)): return => {
|
||||
([]: list(operation), store)
|
||||
};
|
||||
|
@ -3,7 +3,7 @@ type storage = big_map (nat, big_map (int, string));
|
||||
|
||||
type return = (list (operation), storage);
|
||||
|
||||
let main = ((ignore, store): (unit, storage)): return => {
|
||||
let main = ((_, store): (unit, storage)): return => {
|
||||
([]: list(operation), store)
|
||||
};
|
||||
|
@ -10,6 +10,6 @@ type storage = big_map(nat, foo);
|
||||
|
||||
type return = (list (operation), storage);
|
||||
|
||||
let main = ((ignore, store): (unit, storage)): return => {
|
||||
let main = ((_, store): (unit, storage)): return => {
|
||||
([]: list(operation), store)
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user