Forgot a word.

This commit is contained in:
Sander Spies 2020-04-02 13:02:44 +02:00
parent 86de9d27e7
commit a7d4f6691b
2 changed files with 2 additions and 2 deletions

View File

@ -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 = [

View File

@ -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