-
-
Notifications
You must be signed in to change notification settings - Fork 407
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
Implement spread for objects #1364
Implement spread for objects #1364
Conversation
Test262 conformance changes:
Fixed tests:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm happy with how it looks :) Maybe I would add the link, but in any case, we will probably need to refactor it at some point to call the proper abstract operations, once we implement them.
87b7131
to
3edcc91
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One suggestion otherwise looks good to me!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice work!
These are the latest test results:
Test262 conformance changes:
Test result | master count | PR count | difference |
---|---|---|---|
Total | 80,685 | 80,685 | 0 |
Passed | 32,670 | 32,754 | +84 |
Ignored | 15,818 | 15,818 | 0 |
Failed | 32,197 | 32,113 | -84 |
Panics | 0 | 0 | 0 |
Conformance | 40.49% | 40.59% | +0.10% |
Fixed tests (84):
test/language/expressions/array/spread-obj-spread-order.js [strict mode] (previously Failed)
test/language/expressions/array/spread-obj-spread-order.js (previously Failed)
test/language/expressions/array/spread-obj-getter-init.js [strict mode] (previously Failed)
test/language/expressions/array/spread-obj-getter-init.js (previously Failed)
test/language/expressions/array/spread-obj-override-immutable.js [strict mode] (previously Failed)
test/language/expressions/array/spread-obj-override-immutable.js (previously Failed)
test/language/expressions/array/spread-err-sngl-err-obj-unresolvable.js [strict mode] (previously Failed)
test/language/expressions/array/spread-err-sngl-err-obj-unresolvable.js (previously Failed)
test/language/expressions/array/spread-obj-mult-spread.js [strict mode] (previously Failed)
test/language/expressions/array/spread-obj-mult-spread.js (previously Failed)
test/language/expressions/array/spread-obj-mult-spread-getter.js [strict mode] (previously Failed)
test/language/expressions/array/spread-obj-mult-spread-getter.js (previously Failed)
test/language/expressions/array/spread-err-mult-err-obj-unresolvable.js [strict mode] (previously Failed)
test/language/expressions/array/spread-err-mult-err-obj-unresolvable.js (previously Failed)
test/language/expressions/array/spread-obj-overrides-prev-properties.js [strict mode] (previously Failed)
test/language/expressions/array/spread-obj-overrides-prev-properties.js (previously Failed)
test/language/expressions/array/spread-mult-obj-ident.js [strict mode] (previously Failed)
test/language/expressions/array/spread-mult-obj-ident.js (previously Failed)
test/language/expressions/array/spread-obj-getter-descriptor.js [strict mode] (previously Failed)
test/language/expressions/array/spread-obj-getter-descriptor.js (previously Failed)
test/language/expressions/array/spread-obj-with-overrides.js [strict mode] (previously Failed)
test/language/expressions/array/spread-obj-with-overrides.js (previously Failed)
test/language/expressions/array/spread-obj-manipulate-outter-obj-in-getter.js [strict mode] (previously Failed)
test/language/expressions/array/spread-obj-manipulate-outter-obj-in-getter.js (previously Failed)
test/language/expressions/array/spread-sngl-obj-ident.js [strict mode] (previously Failed)
test/language/expressions/array/spread-sngl-obj-ident.js (previously Failed)
test/language/expressions/array/spread-obj-symbol-property.js [strict mode] (previously Failed)
test/language/expressions/array/spread-obj-symbol-property.js (previously Failed)
test/language/expressions/call/spread-obj-spread-order.js [strict mode] (previously Failed)
test/language/expressions/call/spread-obj-spread-order.js (previously Failed)
test/language/expressions/call/spread-obj-getter-init.js [strict mode] (previously Failed)
test/language/expressions/call/spread-obj-getter-init.js (previously Failed)
test/language/expressions/call/spread-obj-override-immutable.js [strict mode] (previously Failed)
test/language/expressions/call/spread-obj-override-immutable.js (previously Failed)
test/language/expressions/call/spread-err-sngl-err-obj-unresolvable.js [strict mode] (previously Failed)
test/language/expressions/call/spread-err-sngl-err-obj-unresolvable.js (previously Failed)
test/language/expressions/call/spread-obj-mult-spread.js [strict mode] (previously Failed)
test/language/expressions/call/spread-obj-mult-spread.js (previously Failed)
test/language/expressions/call/spread-obj-mult-spread-getter.js [strict mode] (previously Failed)
test/language/expressions/call/spread-obj-mult-spread-getter.js (previously Failed)
test/language/expressions/call/spread-err-mult-err-obj-unresolvable.js [strict mode] (previously Failed)
test/language/expressions/call/spread-err-mult-err-obj-unresolvable.js (previously Failed)
test/language/expressions/call/spread-obj-overrides-prev-properties.js [strict mode] (previously Failed)
test/language/expressions/call/spread-obj-overrides-prev-properties.js (previously Failed)
test/language/expressions/call/spread-mult-obj-ident.js [strict mode] (previously Failed)
test/language/expressions/call/spread-mult-obj-ident.js (previously Failed)
test/language/expressions/call/spread-obj-getter-descriptor.js [strict mode] (previously Failed)
test/language/expressions/call/spread-obj-getter-descriptor.js (previously Failed)
test/language/expressions/call/spread-obj-with-overrides.js [strict mode] (previously Failed)
test/language/expressions/call/spread-obj-with-overrides.js (previously Failed)
test/language/expressions/call/spread-obj-manipulate-outter-obj-in-getter.js [strict mode] (previously Failed)
test/language/expressions/call/spread-obj-manipulate-outter-obj-in-getter.js (previously Failed)
test/language/expressions/call/spread-sngl-obj-ident.js [strict mode] (previously Failed)
test/language/expressions/call/spread-sngl-obj-ident.js (previously Failed)
test/language/expressions/call/spread-obj-symbol-property.js [strict mode] (previously Failed)
test/language/expressions/call/spread-obj-symbol-property.js (previously Failed)
test/language/expressions/new/spread-obj-spread-order.js [strict mode] (previously Failed)
test/language/expressions/new/spread-obj-spread-order.js (previously Failed)
test/language/expressions/new/spread-obj-getter-init.js [strict mode] (previously Failed)
test/language/expressions/new/spread-obj-getter-init.js (previously Failed)
test/language/expressions/new/spread-obj-override-immutable.js [strict mode] (previously Failed)
test/language/expressions/new/spread-obj-override-immutable.js (previously Failed)
test/language/expressions/new/spread-err-sngl-err-obj-unresolvable.js [strict mode] (previously Failed)
test/language/expressions/new/spread-err-sngl-err-obj-unresolvable.js (previously Failed)
test/language/expressions/new/spread-obj-mult-spread.js [strict mode] (previously Failed)
test/language/expressions/new/spread-obj-mult-spread.js (previously Failed)
test/language/expressions/new/spread-obj-mult-spread-getter.js [strict mode] (previously Failed)
test/language/expressions/new/spread-obj-mult-spread-getter.js (previously Failed)
test/language/expressions/new/spread-err-mult-err-obj-unresolvable.js [strict mode] (previously Failed)
test/language/expressions/new/spread-err-mult-err-obj-unresolvable.js (previously Failed)
test/language/expressions/new/spread-obj-overrides-prev-properties.js [strict mode] (previously Failed)
test/language/expressions/new/spread-obj-overrides-prev-properties.js (previously Failed)
test/language/expressions/new/spread-mult-obj-ident.js [strict mode] (previously Failed)
test/language/expressions/new/spread-mult-obj-ident.js (previously Failed)
test/language/expressions/new/spread-obj-getter-descriptor.js [strict mode] (previously Failed)
test/language/expressions/new/spread-obj-getter-descriptor.js (previously Failed)
test/language/expressions/new/spread-obj-with-overrides.js [strict mode] (previously Failed)
test/language/expressions/new/spread-obj-with-overrides.js (previously Failed)
test/language/expressions/new/spread-obj-manipulate-outter-obj-in-getter.js [strict mode] (previously Failed)
test/language/expressions/new/spread-obj-manipulate-outter-obj-in-getter.js (previously Failed)
test/language/expressions/new/spread-sngl-obj-ident.js [strict mode] (previously Failed)
test/language/expressions/new/spread-sngl-obj-ident.js (previously Failed)
test/language/expressions/new/spread-obj-symbol-property.js [strict mode] (previously Failed)
test/language/expressions/new/spread-obj-symbol-property.js (previously Failed)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The implementation looks good! Just a cleanup of a test to use the new API and this should be ready.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good work!
This Pull Request fixes/closes #214.
It changes the following: