mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 00:24:34 +00:00
Merge pull request #1699 from rtfeldman/effect-after
Fix closures only monomorphizing once
This commit is contained in:
commit
f619932255
12 changed files with 113 additions and 47 deletions
|
@ -2618,7 +2618,8 @@ fn lambda_set_struct_byte() {
|
|||
r = Red
|
||||
|
||||
p1 = (\u -> r == u)
|
||||
oneOfResult = List.map [p1, p1] (\p -> p Green)
|
||||
foobarbaz = (\p -> p Green)
|
||||
oneOfResult = List.map [p1, p1] foobarbaz
|
||||
|
||||
when oneOfResult is
|
||||
_ -> 32
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue