mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 04:08:19 +00:00
Weaken foreign calls
This commit is contained in:
parent
b3acbdfdfd
commit
64f979a826
1 changed files with 1 additions and 1 deletions
|
@ -3831,13 +3831,13 @@ fn is_generalizable_expr(mut expr: &Expr) -> bool {
|
|||
| LetNonRec(_, _)
|
||||
| Call(_, _, _)
|
||||
| RunLowLevel { .. }
|
||||
| ForeignCall { .. }
|
||||
=> {
|
||||
return false
|
||||
}
|
||||
// TODO(weakening)
|
||||
Var(_, _)
|
||||
| AbilityMember(_, _, _)
|
||||
| ForeignCall { .. }
|
||||
| Expr::Record { .. }
|
||||
| EmptyRecord
|
||||
| Crash { .. }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue