diff --git a/src/passes/1-parser/reasonligo.ml b/src/passes/1-parser/reasonligo.ml index 0609ae116..c6e1b4330 100644 --- a/src/passes/1-parser/reasonligo.ml +++ b/src/passes/1-parser/reasonligo.ml @@ -159,7 +159,7 @@ let apply 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 (* Parsing a contract in a file *)