mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-22 19:42:31 +00:00
Weaken aliased variable names
This commit is contained in:
parent
c3f1646274
commit
58081ada19
2 changed files with 6 additions and 7 deletions
|
@ -3861,9 +3861,8 @@ fn is_generalizable_expr(mut expr: &Expr) -> bool {
|
|||
| RuntimeError(..)
|
||||
| ZeroArgumentTag { .. }
|
||||
| Tag { .. }
|
||||
| AbilityMember(_, _, _) => return false,
|
||||
// TODO(weakening)
|
||||
Var(_, _) => return true,
|
||||
| AbilityMember(..)
|
||||
| Var(..) => return false,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue