fix iterateChildren on if (#951)
This commit is contained in:
parent
7b3cc1d6d4
commit
767cf7a52d
@ -1406,7 +1406,7 @@ pub fn iterateChildren(
|
|||||||
.@"if",
|
.@"if",
|
||||||
.if_simple,
|
.if_simple,
|
||||||
=> {
|
=> {
|
||||||
const if_ast = ifFull(tree, node).ast;
|
const if_ast = fullIf(tree, node).?.ast;
|
||||||
try callback(context, if_ast.cond_expr);
|
try callback(context, if_ast.cond_expr);
|
||||||
try callback(context, if_ast.then_expr);
|
try callback(context, if_ast.then_expr);
|
||||||
try callback(context, if_ast.else_expr);
|
try callback(context, if_ast.else_expr);
|
||||||
|
Loading…
Reference in New Issue
Block a user