mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
Fix record as pattern mono test
This commit is contained in:
parent
e2bd31a549
commit
458878dbea
2 changed files with 25 additions and 11 deletions
|
@ -663,7 +663,7 @@ fn record_as_pattern_in_closure_arg() {
|
|||
f = \{x, y, w, h} -> (x + w, y + h)
|
||||
|
||||
g = \({ x, y } as box) ->
|
||||
(right, bottom) = g box
|
||||
(right, bottom) = f box
|
||||
(x, y, right, bottom)
|
||||
|
||||
g { x: 1, y: 2, w: 3, h: 4 }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue