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

Bindings should not have parenthesis around them #1800

Open
ghost opened this Issue Mar 26, 2017 · 1 comment

Comments

Projects
None yet
0 participants
@ghost

ghost commented Mar 26, 2017

Steps to reproduce

esprima.parse('[a, ...(b = c)] = 0')

Expected output

Should throw an error

Actual output

Parses an AST

@ghost

This comment has been minimized.

Show comment
Hide comment
@ghost

ghost Mar 27, 2017

This one too should throw an error [x] += 0

ghost commented Mar 27, 2017

This one too should throw an error [x] += 0

@ghost ghost closed this Apr 3, 2017

@ghost ghost reopened this Sep 25, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment