mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
Improve wording in pattern suffix errors
This commit is contained in:
parent
1e835bbb17
commit
a4296ca19d
2 changed files with 6 additions and 5 deletions
|
@ -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! ->
|
||||
^^^
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue