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

Shorthand identifiers are not handled correctly #58

Open
andreaphylum opened this issue Jun 23, 2023 · 0 comments
Open

Shorthand identifiers are not handled correctly #58

andreaphylum opened this issue Jun 23, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@andreaphylum
Copy link
Contributor

JavaScript has a concept of shorthand identifiers in object constructors and patterns, where { foo } is equivalent to { foo: foo }. Those nodes do not have a kind of identifier, but of shorthand_property_identifier or shorthand_property_identifier_pattern.

We currently do not handle those correctly in all cases; their semantics are not trivial, though, and would require some research to figure out correctly.

@andreaphylum andreaphylum added the bug Something isn't working label Jun 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant