aboutsummaryrefslogtreecommitdiff
path: root/src/AstGen.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/AstGen.zig')
-rw-r--r--src/AstGen.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/AstGen.zig b/src/AstGen.zig
index 698d3ce950..06e1487513 100644
--- a/src/AstGen.zig
+++ b/src/AstGen.zig
@@ -7367,6 +7367,7 @@ fn switchExprErrUnion(
.any_uses_err_capture = any_uses_err_capture,
.payload_is_ref = payload_is_ref,
},
+ .main_src_node_offset = parent_gz.nodeIndexToRelative(catch_or_if_node),
});
if (multi_cases_len != 0) {