-
-
Notifications
You must be signed in to change notification settings - Fork 406
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 property accessors #987
Conversation
Codecov Report
@@ Coverage Diff @@
## master #987 +/- ##
==========================================
+ Coverage 59.79% 60.03% +0.24%
==========================================
Files 167 167
Lines 11087 11134 +47
==========================================
+ Hits 6629 6684 +55
+ Misses 4458 4450 -8
Continue to review full report at Codecov.
|
@RageKnify I continue the conversation started on the issue. In fact, property accessors are implemented both in |
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.
Looks good!
Check my comments, some are unrelated but it would be nice to change in this PR :)
Your idea is that it will be a simple transition in the future, right? Makes sense. We will also eventually remove |
@HalidOdat said it is not as simple as I initially thought:
I guess I will leave as it is, just implementing the suggestions and add some unit 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.
Looks good to me!
Once this is merged we can start removing the .set_field
and .get_field
functions from builtin functions :)
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.
Some minor things can be cleaned up and I have some questions on Value::new_object
current state.
Test262 conformance changes:
The conformance increase is really nice :) |
property accessors were done in #987
This Pull Request closes #986.
It changes the following: