mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 14:54:47 +00:00
Merge remote-tracking branch 'origin/trunk' into specialize-separately
This commit is contained in:
commit
245a9fc951
40 changed files with 2118 additions and 1621 deletions
|
@ -452,7 +452,7 @@ pub fn canonicalize_expr<'a>(
|
|||
}
|
||||
}
|
||||
|
||||
env.register_closure(symbol.clone(), output.references.clone());
|
||||
env.register_closure(symbol, output.references.clone());
|
||||
|
||||
(
|
||||
Closure(
|
||||
|
@ -820,7 +820,7 @@ where
|
|||
answer = answer.union(other_refs);
|
||||
}
|
||||
|
||||
answer.lookups.insert(local.clone());
|
||||
answer.lookups.insert(*local);
|
||||
}
|
||||
|
||||
for call in refs.calls.iter() {
|
||||
|
@ -830,7 +830,7 @@ where
|
|||
answer = answer.union(other_refs);
|
||||
}
|
||||
|
||||
answer.calls.insert(call.clone());
|
||||
answer.calls.insert(*call);
|
||||
}
|
||||
|
||||
answer
|
||||
|
@ -862,7 +862,7 @@ where
|
|||
answer = answer.union(other_refs);
|
||||
}
|
||||
|
||||
answer.lookups.insert(closed_over_local.clone());
|
||||
answer.lookups.insert(*closed_over_local);
|
||||
}
|
||||
|
||||
for call in references.calls.iter() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue