mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
Weaken record updates behind let bindings
This commit is contained in:
parent
2e36e2f418
commit
6dca92e420
1 changed files with 1 additions and 1 deletions
|
@ -3840,13 +3840,13 @@ fn is_generalizable_expr(mut expr: &Expr) -> bool {
|
|||
| Expr::Record { .. }
|
||||
| Crash { .. }
|
||||
| Access { .. }
|
||||
| Update { .. }
|
||||
=> {
|
||||
return false
|
||||
}
|
||||
// TODO(weakening)
|
||||
Var(_, _)
|
||||
| AbilityMember(_, _, _)
|
||||
| Update { .. }
|
||||
| Tag { .. }
|
||||
| ZeroArgumentTag { .. }
|
||||
| OpaqueWrapFunction(_)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue