You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Object rest drops Symbol-keyed own properties #10815
Per spec, object rest performs CopyDataProperties, which iterates OwnPropertyKeys — that includes Symbol keys, and excludes only the pattern's named keys and non-enumerable properties. Symbol-keyed own enumerable properties must be copied.
Reproduces on an unmodified base binary, so it predates and is unrelated to #10814 (which only changes how the excluded-key array is built in codegen). The behaviour lives in js_object_rest's key-copy logic, crates/perry-runtime/src/object/delete_rest.rs.
Found while writing the gap test for #10814. That test deliberately scopes this case out with an explanatory comment rather than asserting the wrong output, so the coverage gap is visible in the source rather than silently baked in — worth removing that scope-out as the fix's regression test.
Activity