mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 22:09:09 +00:00
Expr::FunctionPointer
This commit is contained in:
parent
55fa8098d3
commit
cf30f02e01
11 changed files with 176 additions and 5 deletions
|
@ -872,7 +872,11 @@ fn insert_refcount_operations_binding<'a>(
|
|||
}
|
||||
|
||||
match expr {
|
||||
Expr::Literal(_) | Expr::NullPointer | Expr::EmptyArray | Expr::RuntimeErrorFunction(_) => {
|
||||
Expr::Literal(_)
|
||||
| Expr::NullPointer
|
||||
| Expr::FunctionPointer { .. }
|
||||
| Expr::EmptyArray
|
||||
| Expr::RuntimeErrorFunction(_) => {
|
||||
// Literals, empty arrays, and runtime errors are not (and have nothing) reference counted.
|
||||
new_let!(stmt)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue