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 e6f83dc00b..6836b4f1cc 100644
--- a/src/AstGen.zig
+++ b/src/AstGen.zig
@@ -5070,6 +5070,7 @@ fn containerDecl(
try astgen.extra.ensureUnusedCapacity(gpa, decls_slice.len);
astgen.extra.appendSliceAssumeCapacity(decls_slice);
+ block_scope.unstack();
try gz.addNamespaceCaptures(&namespace);
return rvalue(gz, ri, indexToRef(decl_inst), node);
},