Skip to content

Commit

Permalink
pass correct handle when iterating usingnamespace of either type
Browse files Browse the repository at this point in the history
  • Loading branch information
Techatrix committed Nov 11, 2023
1 parent aa9fc0c commit 47b3330
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/analysis.zig
Original file line number Diff line number Diff line change
Expand Up @@ -3210,7 +3210,7 @@ fn iterateUsingnamespaceContainerSymbols(
switch (entry.type_with_handle.type.data) {
.other => |expr| {
try analyser.iterateSymbolsContainerInternal(
.{ .node = expr, .handle = use_expr.handle },
.{ .node = expr, .handle = entry.type_with_handle.handle },
orig_handle,
callback,
context,
Expand Down

0 comments on commit 47b3330

Please sign in to comment.