-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
repl: make own properties shadow prototype properties #21588
Conversation
Previously, the code displayed properties backwards (e.g., showing prototype properties before own properties). It also did uniqueness checks during this processing, so these checks were done backwards. After this change, the properties continue to be displayed backwards, but the uniqueness checks are done in the proper order. Fixes: nodejs#15199 See also: nodejs#21586 which was discovered during the testing of this fix.
@nodejs/repl |
CI appears to have failed across the board on this one but the results are no longer accessible. Trying again: https://ci.nodejs.org/job/node-test-pull-request/15831/ |
One seemingly unrelated failure on macOS 10.12. Used "Resume Build" to re-run just that in CI: https://ci.nodejs.org/job/node-test-pull-request/15835/ Also opened an issue to track the failure in case it gets seen elsewhere: #21781 |
Landed in 4d42083, thanks for the PR! 🎉 |
Previously, the code displayed properties backwards (e.g., showing prototype properties before own properties). It also did uniqueness checks during this processing, so these checks were done backwards. After this change, the properties continue to be displayed backwards, but the uniqueness checks are done in the proper order. See also: #21586 which was discovered during the testing of this fix. Fixes: #15199 PR-URL: #21588 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Tiancheng "Timothy" Gu <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
Previously, the code displayed properties backwards (e.g., showing prototype properties before own properties). It also did uniqueness checks during this processing, so these checks were done backwards. After this change, the properties continue to be displayed backwards, but the uniqueness checks are done in the proper order. See also: #21586 which was discovered during the testing of this fix. Fixes: #15199 PR-URL: #21588 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Tiancheng "Timothy" Gu <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
Previously, the code displayed properties backwards (e.g., showing prototype
properties before own properties). It also did uniqueness checks during this
processing, so these checks were done backwards.
After this change, the properties continue to be displayed backwards, but
the uniqueness checks are done in the proper order.
Fixes: #15199
See also: #21586 which was discovered
during the testing of this fix.
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes