mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 22:34:45 +00:00
manually track visited varibles in deep_copy_var_to
This commit is contained in:
parent
2bccc2d28d
commit
594e754e1e
2 changed files with 53 additions and 23 deletions
|
@ -1373,7 +1373,7 @@ fn instantiate_rigids_help(subs: &mut Subs, max_rank: Rank, initial: Variable) {
|
|||
}
|
||||
|
||||
// we have tracked all visited variables, and can now traverse them
|
||||
// in one go (without looking at the UnificationTable) and clear copy field
|
||||
// in one go (without looking at the UnificationTable) and clear the copy field
|
||||
for var in visited {
|
||||
let descriptor = subs.get_ref_mut(var);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue