mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 07:41:12 +00:00
fix mutual recursive types
I'll write a bit more about this in the PR message
This commit is contained in:
parent
055b01c463
commit
e5997c4047
12 changed files with 263 additions and 53 deletions
|
@ -243,6 +243,7 @@ pub fn canonicalize_defs<'a>(
|
|||
let alias = roc_types::types::Alias {
|
||||
region: ann.region,
|
||||
vars: can_vars,
|
||||
uniqueness: None,
|
||||
typ: can_ann.typ,
|
||||
};
|
||||
aliases.insert(symbol, alias);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue