mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 12:18:19 +00:00
Merge pull request #7450 from roc-lang/ayaz/bugfix-ts
Minor simplifications to typechecker
This commit is contained in:
commit
99dfc5529d
9 changed files with 232 additions and 302 deletions
|
@ -15666,7 +15666,7 @@ All branches in an `if` must have the same type!
|
|||
@r###"
|
||||
── MISSING EXCLAMATION in /code/proj/Main.roc ──────────────────────────────────
|
||||
|
||||
This is an effectful function, but its name does not indicate so:
|
||||
This function is effectful, but its name does not indicate so:
|
||||
|
||||
10│ forEach! = \l, f ->
|
||||
^
|
||||
|
@ -15703,7 +15703,7 @@ All branches in an `if` must have the same type!
|
|||
@r###"
|
||||
── UNNECESSARY EXCLAMATION in /code/proj/Main.roc ──────────────────────────────
|
||||
|
||||
This is a pure function, but its name suggests otherwise:
|
||||
This function is pure, but its name suggests otherwise:
|
||||
|
||||
12│ mapOk = \result, fn! ->
|
||||
^^^
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue