mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +00:00
remove box and unbox expressions
This commit is contained in:
parent
a9813aeae7
commit
d64930c17f
12 changed files with 9 additions and 196 deletions
|
@ -1106,7 +1106,6 @@ fn expr_contains_symbol(expr: &Expr, needle: Symbol) -> bool {
|
|||
crate::ir::ListLiteralElement::Symbol(symbol) => needle == *symbol,
|
||||
}),
|
||||
Expr::EmptyArray => false,
|
||||
Expr::ExprBox { symbol } | Expr::ExprUnbox { symbol } => needle == *symbol,
|
||||
Expr::Reset { symbol, .. } | Expr::ResetRef { symbol, .. } => needle == *symbol,
|
||||
Expr::RuntimeErrorFunction(_) => false,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue