mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 04:08:19 +00:00
Merge pull request #3736 from rtfeldman/i3687
Creation of a record whose type has an optional value is an error
This commit is contained in:
commit
0798f787c5
18 changed files with 189 additions and 27 deletions
|
@ -4053,8 +4053,7 @@ mod solve_expr {
|
|||
{ x, y }
|
||||
"#
|
||||
),
|
||||
// TODO: when structural types unify with alias, they should take the alias name
|
||||
"{ x : I64, y ? [False, True] }* -> { x : I64, y : Bool }",
|
||||
"{ x : I64, y ? Bool }* -> { x : I64, y : Bool }",
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue