mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 19:58:18 +00:00
Weaken runtime errors
This commit is contained in:
parent
e525726be6
commit
df90baa0fc
1 changed files with 2 additions and 1 deletions
|
@ -3849,6 +3849,7 @@ fn is_generalizable_expr(mut expr: &Expr) -> bool {
|
|||
| ExpectFx { .. }
|
||||
| Dbg { .. }
|
||||
| TypedHole(_)
|
||||
| RuntimeError(_)
|
||||
=> {
|
||||
return false
|
||||
}
|
||||
|
@ -3857,7 +3858,7 @@ fn is_generalizable_expr(mut expr: &Expr) -> bool {
|
|||
| AbilityMember(_, _, _)
|
||||
| Tag { .. }
|
||||
| ZeroArgumentTag { .. }
|
||||
| RuntimeError(_) => return true,
|
||||
=> return true,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue