diff --git a/src/analysis.zig b/src/analysis.zig index cb392f3..b3faa8a 100644 --- a/src/analysis.zig +++ b/src/analysis.zig @@ -432,10 +432,13 @@ pub const Analyzer = struct { try self.expectSymUnTypeEnum(expr, .Bool); } - // TODO bump-dump scope + try ctx.bumpScope("loop"); + for (loop.then_branch.toSlice()) |then_stmt| { try self.stmtPass(ctx, then_stmt); } + + ctx.dumpScope(); }, // For (creates 1 scope) receives arrays, which we dont have yet