Skip to content
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 #986

Closed
tofpie opened this issue Dec 20, 2020 · 1 comment · Fixed by #987
Closed

Implement property accessors #986

tofpie opened this issue Dec 20, 2020 · 1 comment · Fixed by #987
Labels
enhancement New feature or request
Milestone

Comments

@tofpie
Copy link
Contributor

tofpie commented Dec 20, 2020

ECMASCript feature
I would like to see the property accessors parsing and execution implemented. ECMAScript specification.

Example code
This code should now work and give the expected result:

let a = { get b() { return "c"}}
a.b

The expected output is "c".

@tofpie tofpie added the enhancement New feature or request label Dec 20, 2020
@RageKnify
Copy link
Contributor

This is tied to #577, @HalidOdat was leading development on that, sadly you implemented it on Value in #987 , which would require us to change it all once we want to move the behaviour to GcObject...
@HalidOdat what are your thoughts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants