mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-18 17:49:47 +00:00
Expr::FunctionPointer
This commit is contained in:
parent
55fa8098d3
commit
cf30f02e01
11 changed files with 176 additions and 5 deletions
|
@ -1136,6 +1136,20 @@ impl<'a, 'r> WasmBackend<'a, 'r> {
|
|||
storage,
|
||||
),
|
||||
|
||||
Expr::ExprBox { symbol: arg_sym } => self.expr_box(sym, *arg_sym, layout, storage),
|
||||
|
||||
Expr::ExprUnbox { symbol: arg_sym } => self.expr_unbox(sym, *arg_sym),
|
||||
|
||||
Expr::FunctionPointer { .. } => todo_lambda_erasure!(),
|
||||
|
||||
Expr::Reuse {
|
||||
tag_layout,
|
||||
tag_id,
|
||||
arguments,
|
||||
symbol: reused,
|
||||
..
|
||||
} => self.expr_tag(tag_layout, *tag_id, arguments, sym, storage, Some(*reused)),
|
||||
|
||||
Expr::Reset { symbol: arg, .. } => self.expr_reset(*arg, sym, storage),
|
||||
|
||||
Expr::ResetRef { symbol: arg, .. } => self.expr_resetref(*arg, sym, storage),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue