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

@@ -4282,7 +4282,7 @@ pub const TestingAPIs = struct {
if (comptime bun.Environment.isWindows) return JSValue.false;
const arguments_ = callframe.arguments_old(1);
var arguments = JSC.Node.ArgumentsSlice.init(globalThis.bunVM(), arguments_.slice());
var arguments = JSC.CallFrame.ArgumentsSlice.init(globalThis.bunVM(), arguments_.slice());
const string = arguments.nextEat() orelse {
return globalThis.throw("shellInternals.disabledOnPosix: expected 1 arguments, got 0", .{});
};
@@ -4305,7 +4305,7 @@ pub const TestingAPIs = struct {
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 string_args = arguments.nextEat() orelse {
return globalThis.throw("shell_parse: expected 2 arguments, got 0", .{});
};
@@ -4373,7 +4373,7 @@ pub const TestingAPIs = struct {
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 string_args = arguments.nextEat() orelse {
return globalThis.throw("shell_parse: expected 2 arguments, got 0", .{});
};