-
Notifications
You must be signed in to change notification settings - Fork 849
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
Incorrect parse error for async methods with keywords as names #584
Comments
Thanks for fixing! |
@marijnh Would it be possible to get a new release including this fix? We have issues that we want to resolve with dependencies, but this fix is blocking us. |
I've tagged 5.1.2 |
Thank you! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When parsing an async method in an object that has a keyword as a name, acorn incorrectly reports a parsing error. This only seems to apply when parsing object methods -- class methods are parsed correctly.
Using acorn 5.1.1:
Expected AST
Actual result
This was originally reported in eslint/eslint#9153.
The text was updated successfully, but these errors were encountered: