mirror of
https://github.com/oven-sh/bun
synced 2026-02-12 11:59:00 +00:00
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:
@@ -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", .{});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user