more legacy test fixes

This commit is contained in:
Karl Seguin
2025-12-25 09:08:01 +08:00
parent b2b890b8b1
commit 9f3cb4349d
8 changed files with 57 additions and 103 deletions

View File

@@ -135,7 +135,7 @@ pub fn callWithThis(self: *const Function, comptime T: type, this: anytype, args
.pointer => blk: {
var values = try context.call_arena.alloc(v8.Value, args.len);
for (args, 0..) |a, i| {
values[i] = try context.zigValueToJs(a);
values[i] = try context.zigValueToJs(a, .{});
}
break :blk values;
},