diff options
author | 2021-05-28 23:48:10 -0700 | |
---|---|---|
committer | 2021-05-28 23:48:10 -0700 | |
commit | 6e8e16d91655cebb3ad78a16ab307ef35674007a (patch) | |
tree | ec5ba789843f532ac0bd00516f569065ce03ba94 /src | |
parent | 05ec7232bfc97894ae8f04d313fed97c1d619503 (diff) | |
download | bun-6e8e16d91655cebb3ad78a16ab307ef35674007a.tar.gz bun-6e8e16d91655cebb3ad78a16ab307ef35674007a.tar.zst bun-6e8e16d91655cebb3ad78a16ab307ef35674007a.zip |
2
Former-commit-id: f1403901d94096a04f3ebbb69f4d3b91f637d289
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, |