mirror of
https://github.com/roc-lang/roc.git
synced 2025-11-01 13:34:15 +00:00
Update test
This commit is contained in:
parent
0d13dcb1af
commit
c882c76685
1 changed files with 5 additions and 6 deletions
|
|
@ -1493,14 +1493,13 @@ mod solve_expr {
|
|||
infer_eq(
|
||||
indoc!(
|
||||
r#"
|
||||
# technically, an empty record can be destructured
|
||||
{} = {}
|
||||
thunk = \{} -> 42
|
||||
# technically, an empty record can be destructured
|
||||
thunk = \{} -> 42
|
||||
|
||||
xEmpty = if thunk {} == 42 then { x: {} } else { x: {} }
|
||||
xEmpty = if thunk {} == 42 then { x: {} } else { x: {} }
|
||||
|
||||
when xEmpty is
|
||||
{ x: {} } -> {}
|
||||
when xEmpty is
|
||||
{ x: {} } -> {}
|
||||
"#
|
||||
),
|
||||
"{}",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue