mirror of
https://github.com/oven-sh/bun
synced 2026-02-16 05:42:43 +00:00
zig: rename CallFrame.arguments to .arguments_old to free up decl name (#15296)
This commit is contained in:
@@ -4316,7 +4316,7 @@ pub const TestingAPIs = struct {
|
||||
pub fn disabledOnThisPlatform(globalThis: *JSC.JSGlobalObject, callframe: *JSC.CallFrame) bun.JSError!JSC.JSValue {
|
||||
if (comptime bun.Environment.isWindows) return JSValue.false;
|
||||
|
||||
const arguments_ = callframe.arguments(1);
|
||||
const arguments_ = callframe.arguments_old(1);
|
||||
var arguments = JSC.Node.ArgumentsSlice.init(globalThis.bunVM(), arguments_.slice());
|
||||
const string = arguments.nextEat() orelse {
|
||||
globalThis.throw("shellInternals.disabledOnPosix: expected 1 arguments, got 0", .{});
|
||||
@@ -4340,7 +4340,7 @@ pub const TestingAPIs = struct {
|
||||
globalThis: *JSC.JSGlobalObject,
|
||||
callframe: *JSC.CallFrame,
|
||||
) bun.JSError!JSC.JSValue {
|
||||
const arguments_ = callframe.arguments(2);
|
||||
const arguments_ = callframe.arguments_old(2);
|
||||
var arguments = JSC.Node.ArgumentsSlice.init(globalThis.bunVM(), arguments_.slice());
|
||||
const string_args = arguments.nextEat() orelse {
|
||||
globalThis.throw("shell_parse: expected 2 arguments, got 0", .{});
|
||||
@@ -4428,7 +4428,7 @@ pub const TestingAPIs = struct {
|
||||
globalThis: *JSC.JSGlobalObject,
|
||||
callframe: *JSC.CallFrame,
|
||||
) bun.JSError!JSC.JSValue {
|
||||
const arguments_ = callframe.arguments(2);
|
||||
const arguments_ = callframe.arguments_old(2);
|
||||
var arguments = JSC.Node.ArgumentsSlice.init(globalThis.bunVM(), arguments_.slice());
|
||||
const string_args = arguments.nextEat() orelse {
|
||||
globalThis.throw("shell_parse: expected 2 arguments, got 0", .{});
|
||||
|
||||
Reference in New Issue
Block a user