From a7d4f6691b7571950f86edf73cab09f9cecf97b3 Mon Sep 17 00:00:00 2001 From: Sander Spies Date: Thu, 2 Apr 2020 13:02:44 +0200 Subject: [PATCH] Forgot a word. --- src/passes/1-parser/reasonligo.ml | 2 +- src/passes/1-parser/reasonligo/ParserMain.ml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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