mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
fix extra ampersands
This commit is contained in:
parent
b6116eeb98
commit
899cbeabd7
79 changed files with 372 additions and 376 deletions
|
@ -1446,7 +1446,7 @@ fn instantiate_rigids(
|
|||
let mut rigid_substitution: ImMap<Variable, Type> = ImMap::default();
|
||||
|
||||
for (name, var) in introduced_vars.var_by_name.iter() {
|
||||
if let Some(existing_rigid) = ftv.get(&name) {
|
||||
if let Some(existing_rigid) = ftv.get(name) {
|
||||
rigid_substitution.insert(*var, Type::Variable(*existing_rigid));
|
||||
} else {
|
||||
// It's possible to use this rigid in nested defs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue