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
Should throw on invaid (a = 1) = t
#470
Comments
This comment has been minimized.
This comment has been minimized.
(a = 1) = 2
(a = 1) = t
is it happening in acorn.js ? |
As I tested, yes, it happens in |
acornjs/acorn#1017, should I close this? |
as it's also a bug in espree, I suggest to keep it open to track it. we can close it when the issue was fixed in acorn, and espree update its dependency acorn. |
I think this is the same as acornjs/acorn#886 which has been fixed by acornjs/acorn@1d5b531 and released in Acorn 8.0.0. We'll update Acorn dependency in the next Espree major version (#456). |
* Breaking: acorn to 8.1.0 changelog: https://github.com/acornjs/acorn/blob/master/acorn/CHANGELOG.md#breaking-changes fixes #470, #472 * Update tests/lib/parse.js Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com> * fix: add ecmaversion>5 * fix: remove #472 test case Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
This should be invalid.
The text was updated successfully, but these errors were encountered: