File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -345,19 +345,19 @@ fn walkExpression(w: *Walk, node: Ast.Node.Index) Error!void {
345345 },
346346
347347 .assign_destructure = > {
348- const full = tree .assignDestructure (node );
348+ const full = ast .assignDestructure (node );
349349 for (full .ast .variables ) | variable_node | {
350- switch (node_tags [lhs_node ]) {
350+ switch (node_tags [variable_node ]) {
351351 .global_var_decl ,
352352 .local_var_decl ,
353353 .simple_var_decl ,
354354 .aligned_var_decl ,
355- = > try walkLocalVarDecl (w , ast .fullVarDecl (lhs_node ).? ),
355+ = > try walkLocalVarDecl (w , ast .fullVarDecl (variable_node ).? ),
356356
357357 else = > try walkExpression (w , variable_node ),
358358 }
359359 }
360- return walkExpression (w , full .ast .assign_expr );
360+ return walkExpression (w , full .ast .value_expr );
361361 },
362362
363363 .bit_not ,
You can’t perform that action at this time.
0 commit comments