mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 00:24:34 +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
|
@ -314,6 +314,7 @@ impl<'a> ParamMap<'a> {
|
|||
stack.push(cont);
|
||||
}
|
||||
|
||||
Dbg { remainder, .. } => stack.push(remainder),
|
||||
Expect { remainder, .. } => stack.push(remainder),
|
||||
ExpectFx { remainder, .. } => stack.push(remainder),
|
||||
|
||||
|
@ -823,6 +824,10 @@ impl<'a> BorrowInfState<'a> {
|
|||
self.collect_stmt(param_map, default_branch.1);
|
||||
}
|
||||
|
||||
Dbg { remainder, .. } => {
|
||||
self.collect_stmt(param_map, remainder);
|
||||
}
|
||||
|
||||
Expect { remainder, .. } => {
|
||||
self.collect_stmt(param_map, remainder);
|
||||
}
|
||||
|
@ -1007,6 +1012,7 @@ fn call_info_stmt<'a>(arena: &'a Bump, stmt: &Stmt<'a>, info: &mut CallInfo<'a>)
|
|||
stack.push(default_branch.1);
|
||||
}
|
||||
|
||||
Dbg { remainder, .. } => stack.push(remainder),
|
||||
Expect { remainder, .. } => stack.push(remainder),
|
||||
ExpectFx { remainder, .. } => stack.push(remainder),
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue