mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +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
|
@ -146,6 +146,14 @@ impl Scope {
|
|||
vars: Vec<Located<(Lowercase, Variable)>>,
|
||||
typ: Type,
|
||||
) {
|
||||
self.aliases.insert(name, Alias { region, vars, typ });
|
||||
self.aliases.insert(
|
||||
name,
|
||||
Alias {
|
||||
region,
|
||||
vars,
|
||||
uniqueness: None,
|
||||
typ,
|
||||
},
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue