mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
simplify IntroducedVariables
This commit is contained in:
parent
9cb6261a4d
commit
9b63e6a3a9
5 changed files with 71 additions and 54 deletions
|
@ -254,8 +254,8 @@ pub fn canonicalize_module_defs<'a>(
|
|||
}
|
||||
}
|
||||
|
||||
for (var, lowercase) in output.introduced_variables.name_by_var {
|
||||
rigid_variables.named.insert(var, lowercase.clone());
|
||||
for named in output.introduced_variables.named {
|
||||
rigid_variables.named.insert(named.variable, named.name);
|
||||
}
|
||||
|
||||
for var in output.introduced_variables.wildcards {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue