mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 06:44:46 +00:00
Boxed skeleton
This commit is contained in:
parent
7be0349eee
commit
09f01ba193
8 changed files with 31 additions and 1 deletions
|
@ -246,7 +246,12 @@ fn insert_reset<'a>(
|
|||
}
|
||||
|
||||
let reset_expr = Expr::Reset(x);
|
||||
stmt = env.arena.alloc(Stmt::Let(w, reset_expr, layout, stmt));
|
||||
|
||||
const I64: Layout<'static> = Layout::Builtin(crate::layout::Builtin::Int64);
|
||||
|
||||
stmt = env
|
||||
.arena
|
||||
.alloc(Stmt::Let(w, reset_expr, Layout::Boxed(&I64), stmt));
|
||||
|
||||
for (symbol, expr, expr_layout) in stack.into_iter().rev() {
|
||||
stmt = env
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue