Merge branch 'fix-wrong-wild-call' into 'dev'
Ensure that the right error is called when using the wild pattern incorrectly. See merge request ligolang/ligo!565
This commit is contained in:
commit
ce1b55e548
@ -140,7 +140,7 @@ let parse (module IO : IO) parser =
|
||||
| exception SyntaxError.Error (SyntaxError.WrongFunctionArguments expr) ->
|
||||
Trace.fail @@ Errors.wrong_function_arguments expr
|
||||
| exception SyntaxError.Error (SyntaxError.InvalidWild expr) ->
|
||||
Trace.fail @@ Errors.wrong_function_arguments expr
|
||||
Trace.fail @@ Errors.invalid_wild expr
|
||||
|
||||
let parse_file (source: string) =
|
||||
let module IO =
|
||||
|
Loading…
Reference in New Issue
Block a user