-
Notifications
You must be signed in to change notification settings - Fork 33
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
Array destructuring - Ignoring some returned values - Error #127
Comments
Please fix this, it fails in manu other scenarios: |
Acorn also emits null , see example: |
Works here: gratex@babd2bd |
When I use array destructuring with ignored values, grasp throws error.
(see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Destructuring_assignment#Ignoring_some_returned_values)
I have checked also flow parser. It has no problems with parsing this code. The 'ignored value' is represented by NULL in elements array:
The text was updated successfully, but these errors were encountered: