no usingnamespace, organize jsc namespace, enable -fincremental (#19122)

Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com>
This commit is contained in:
chloe caruso
2025-04-22 16:34:15 -07:00
committed by GitHub
parent 842fe8664e
commit 3349c995b5
271 changed files with 30131 additions and 30868 deletions

View File

@@ -48,7 +48,7 @@ pub fn finalize(
pub fn setCwd(this: *ParsedShellScript, globalThis: *JSGlobalObject, callframe: *JSC.CallFrame) bun.JSError!JSC.JSValue {
const arguments_ = callframe.arguments_old(2);
var arguments = JSC.Node.ArgumentsSlice.init(globalThis.bunVM(), arguments_.slice());
var arguments = JSC.CallFrame.ArgumentsSlice.init(globalThis.bunVM(), arguments_.slice());
const str_js = arguments.nextEat() orelse {
return globalThis.throw("$`...`.cwd(): expected a string argument", .{});
};
@@ -177,6 +177,6 @@ const JSValue = JSC.JSValue;
const JSGlobalObject = JSC.JSGlobalObject;
const CallFrame = JSC.CallFrame;
const Node = JSC.Node;
const ArgumentsSlice = JSC.Node.ArgumentsSlice;
const ArgumentsSlice = JSC.CallFrame.ArgumentsSlice;
const assert = bun.assert;
const log = bun.Output.scoped(.ParsedShellScript, true);