diff options
| author | 2022-02-15 13:47:18 -0800 | |
|---|---|---|
| committer | 2022-02-15 13:47:18 -0800 | |
| commit | 2578f426b6d59080b0853164df83fe2b69740a7c (patch) | |
| tree | 6f583caaaf4bc0435cb36f06692335eeb7fb870b /src/js_printer.zig | |
| parent | 37bc3c887224a4b5ac2bdbdfa5b21f54de718a49 (diff) | |
| download | bun-2578f426b6d59080b0853164df83fe2b69740a7c.tar.gz bun-2578f426b6d59080b0853164df83fe2b69740a7c.tar.zst bun-2578f426b6d59080b0853164df83fe2b69740a7c.zip | |
Remove usage of `packed` struct in Ref because packed is buggy in zig
Diffstat (limited to 'src/js_printer.zig')
| -rw-r--r-- | src/js_printer.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js_printer.zig b/src/js_printer.zig index 2e90009cb..391450d09 100644 --- a/src/js_printer.zig +++ b/src/js_printer.zig @@ -995,7 +995,7 @@ pub fn NewPrinter( pub fn isUnboundEvalIdentifier(p: *Printer, value: Expr) bool { switch (value.data) { .e_identifier => |ident| { - if (ident.ref.is_source_contents_slice) return false; + if (ident.ref.isSourceContentsSlice()) return false; const symbol = p.symbols.get(p.symbols.follow(ident.ref)) orelse return false; return symbol.kind == .unbound and strings.eqlComptime(symbol.original_name, "eval"); |
