mirror of
https://github.com/oven-sh/bun
synced 2026-02-15 13:22:07 +00:00
Fix bug introduced in 97d17904
This commit is contained in:
@@ -12107,7 +12107,7 @@ pub fn NewParser(
|
||||
var has_proto = false;
|
||||
var i: usize = 0;
|
||||
while (i < e_.properties.len) : (i += 1) {
|
||||
var property = e_.properties.ptr[i];
|
||||
var property = &e_.properties.ptr[i];
|
||||
|
||||
if (property.kind != .spread) {
|
||||
property.key = p.visitExpr(property.key orelse Global.panic("Expected property key", .{}));
|
||||
|
||||
Reference in New Issue
Block a user