diff --git a/src/passes/1-parser/reasonligo.ml b/src/passes/1-parser/reasonligo.ml index ee59d073c..38cde6edb 100644 --- a/src/passes/1-parser/reasonligo.ml +++ b/src/passes/1-parser/reasonligo.ml @@ -72,7 +72,7 @@ module Errors = let invalid_wild (expr: AST.expr) = let title () = "" in let message () = - "It looks you are using a wild pattern where it cannot be used." + "It looks like you are using a wild pattern where it cannot be used." in let expression_loc = AST.expr_to_region expr in let data = [ diff --git a/src/passes/1-parser/reasonligo/ParserMain.ml b/src/passes/1-parser/reasonligo/ParserMain.ml index c84c6bdc4..e64aecf0a 100644 --- a/src/passes/1-parser/reasonligo/ParserMain.ml +++ b/src/passes/1-parser/reasonligo/ParserMain.ml @@ -49,7 +49,7 @@ let parse parser : ('a, string Region.reg) Stdlib.result = (* Scoping errors *) | SyntaxError.Error (SyntaxError.InvalidWild expr) -> - let msg = "It looks you are using a wild pattern where it cannot be used.\n" + let msg = "It looks like you are using a wild pattern where it cannot be used.\n" and region = AST.expr_to_region expr in let error = Unit.short_error ~offsets:IO.options#offsets IO.options#mode msg region