mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
updated Stmt::Dbg
This commit is contained in:
parent
43259b9ad6
commit
36f90c05e2
2 changed files with 9 additions and 2 deletions
|
@ -677,10 +677,17 @@ fn insert_refcount_operations_stmt<'v, 'a>(
|
|||
} => {
|
||||
let new_remainder = insert_refcount_operations_stmt(arena, environment, remainder);
|
||||
|
||||
let newer_remainder = consume_and_insert_dec_stmts(
|
||||
arena,
|
||||
environment,
|
||||
environment.borrowed_usages([*symbol]),
|
||||
new_remainder,
|
||||
);
|
||||
|
||||
arena.alloc(Stmt::Dbg {
|
||||
symbol: *symbol,
|
||||
variable: *variable,
|
||||
remainder: new_remainder,
|
||||
remainder: newer_remainder,
|
||||
})
|
||||
}
|
||||
Stmt::Join {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue