mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-24 06:55:15 +00:00
Weaken crash
This commit is contained in:
parent
b8712bcb30
commit
b5cce17822
1 changed files with 1 additions and 1 deletions
|
@ -3834,13 +3834,13 @@ fn is_generalizable_expr(mut expr: &Expr) -> bool {
|
|||
| ForeignCall { .. }
|
||||
| EmptyRecord
|
||||
| Expr::Record { .. }
|
||||
| Crash { .. }
|
||||
=> {
|
||||
return false
|
||||
}
|
||||
// TODO(weakening)
|
||||
Var(_, _)
|
||||
| AbilityMember(_, _, _)
|
||||
| Crash { .. }
|
||||
| Access { .. }
|
||||
| Accessor(_)
|
||||
| Update { .. }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue