diff --git a/src/passes/1-parser/reasonligo.ml b/src/passes/1-parser/reasonligo.ml index 38cde6edb..d1a5046dc 100644 --- a/src/passes/1-parser/reasonligo.ml +++ b/src/passes/1-parser/reasonligo.ml @@ -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 =