| ... | ... | @@ -372,7 +372,7 @@ fn renderExpression(r: *Render, node: Ast.Node.Index, space: Space) Error!void { |
| 372 | 372 | if (!ais.indentStackEmpty() and |
| 373 | 373 | token_tags[i] != .colon and |
| 374 | 374 | ((token_tags[i] != .semicolon and token_tags[i] != .comma) or |
| 375 | | ais.lastSpaceModeIndent() < ais.currentIndent())) |
| 375 | ais.lastSpaceModeIndent() < ais.currentIndent())) |
| 376 | 376 | { |
| 377 | 377 | ais.popIndent(); |
| 378 | 378 | try ais.pushIndent(.normal); |
| ... | ... | @@ -3509,7 +3509,7 @@ fn AutoIndentingStream(comptime UnderlyingWriter: type) type { |
| 3509 | 3509 | } |
| 3510 | 3510 | |
| 3511 | 3511 | pub fn popIndent(self: *Self) void { |
| 3512 | | if (self.indent_stack.pop().realized) { |
| 3512 | if (self.indent_stack.pop().?.realized) { |
| 3513 | 3513 | assert(self.indent_count > 0); |
| 3514 | 3514 | self.indent_count -= 1; |
| 3515 | 3515 | } |