Improve wording in pattern suffix errors

This commit is contained in:
Agus Zubiaga 2024-10-30 10:35:04 -03:00
parent 1e835bbb17
commit a4296ca19d
No known key found for this signature in database
2 changed files with 6 additions and 5 deletions

View file

@ -15000,7 +15000,7 @@ All branches in an `if` must have the same type!
@r###"
MISSING EXCLAMATION in /code/proj/Main.roc
This matches an effectful function, but its name does not indicate so:
This is an effectful function, but its name does not indicate so:
10 forEach! = \l, f ->
^
@ -15037,7 +15037,7 @@ All branches in an `if` must have the same type!
@r###"
UNNECESSARY EXCLAMATION in /code/proj/Main.roc
This matches a pure function, but the name suggests otherwise:
This is a pure function, but its name suggests otherwise:
12 mapOk = \result, fn! ->
^^^