diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/js_ast.zig | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/js_ast.zig b/src/js_ast.zig index 59e1d1aaa..efd2374e9 100644 --- a/src/js_ast.zig +++ b/src/js_ast.zig @@ -4331,7 +4331,10 @@ pub const Scope = struct { strict_mode: StrictModeKind = StrictModeKind.sloppy_mode, - pub const Member = packed struct { ref: Ref, loc: logger.Loc }; + // Do not make this a packed struct + // Two hours of debugging time lost to that. + pub const Member = struct { ref: Ref, loc: logger.Loc }; + pub const Kind = enum(u8) { block, with, |