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