From f5122bdbf12e6791c2f1f74246ab7264110381ca Mon Sep 17 00:00:00 2001 From: Zack Radisic <56137411+zackradisic@users.noreply.github.com> Date: Wed, 17 Sep 2025 17:09:18 -0700 Subject: [PATCH] use import instead of class --- src/ast/P.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ast/P.zig b/src/ast/P.zig index d74e56e434..4b0c170f8e 100644 --- a/src/ast/P.zig +++ b/src/ast/P.zig @@ -283,7 +283,7 @@ pub fn NewParser_( jsx_imports: JSXImport.Symbols = .{}, /// only applicable when `.options.features.react_fast_refresh` is set. - /// populated befora visit pass starts. + /// populated before visit pass starts. react_refresh: ReactRefresh = .{}, /// only applicable when `.options.features.server_components` is @@ -2109,7 +2109,7 @@ pub fn NewParser_( switch (p.options.features.server_components) { .none, .client_side => {}, else => { - p.response_ref = try p.declareGeneratedSymbol(.class, "Response"); + p.response_ref = try p.declareGeneratedSymbol(.import, "Response"); p.bun_app_namespace_ref = try p.newSymbol( .other, "import_bun_app",