mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
Fix build
This commit is contained in:
@@ -129,7 +129,7 @@ pub const KnownGlobal = enum {
|
||||
var list = e.args.moveToListManaged(allocator);
|
||||
list.clearRetainingCapacity();
|
||||
bun.handleOom(list.appendNTimes(js_ast.Expr{ .data = js_parser.Prefill.Data.EMissing, .loc = arg_loc }, @intFromFloat(val)));
|
||||
return js_ast.Expr.init(E.Array, .{ .items = .fromList(list) }, loc);
|
||||
return js_ast.Expr.init(E.Array, .{ .items = .moveFromList(&list) }, loc);
|
||||
}
|
||||
return callFromNew(e, loc);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user