mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
toplevel debug
This commit is contained in:
parent
928495072c
commit
5ea8d96f3e
5 changed files with 70 additions and 10 deletions
|
@ -57,6 +57,12 @@ pub fn walk_decls<V: Visitor>(visitor: &mut V, decls: &Declarations) {
|
|||
|
||||
visitor.visit_expr(&loc_condition.value, loc_condition.region, Variable::BOOL);
|
||||
}
|
||||
Dbg => {
|
||||
let loc_condition = &decls.expressions[index];
|
||||
let expr_var = decls.variables[index];
|
||||
|
||||
visitor.visit_expr(&loc_condition.value, loc_condition.region, expr_var);
|
||||
}
|
||||
Function(function_index)
|
||||
| Recursive(function_index)
|
||||
| TailRecursive(function_index) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue