mirror of
https://github.com/roc-lang/roc.git
synced 2025-11-01 05:24:15 +00:00
Correctly compile unified recursive tag unions
This commit is contained in:
parent
8c5f798f4e
commit
808d19b01b
7 changed files with 84 additions and 14 deletions
|
|
@ -4024,7 +4024,8 @@ mod solve_expr {
|
|||
{ x, y }
|
||||
"#
|
||||
),
|
||||
"{ x : I64, y ? Bool }* -> { x : I64, y : Bool }",
|
||||
// TODO: when structural types unify with alias, they should take the alias name
|
||||
"{ x : I64, y ? [False, True] }* -> { x : I64, y : Bool }",
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue