mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +00:00
make dbg transparent to refcounting
This commit is contained in:
parent
1286878d39
commit
f76df8a356
10 changed files with 215 additions and 28 deletions
|
@ -249,6 +249,26 @@ fn insert_jumps<'a>(
|
|||
}
|
||||
}
|
||||
|
||||
Dbg {
|
||||
symbol,
|
||||
variable,
|
||||
remainder,
|
||||
} => match insert_jumps(
|
||||
arena,
|
||||
remainder,
|
||||
goal_id,
|
||||
needle,
|
||||
needle_arguments,
|
||||
needle_result,
|
||||
) {
|
||||
Some(cont) => Some(arena.alloc(Dbg {
|
||||
symbol: *symbol,
|
||||
variable: *variable,
|
||||
remainder: cont,
|
||||
})),
|
||||
None => None,
|
||||
},
|
||||
|
||||
Expect {
|
||||
condition,
|
||||
region,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue