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

Make await x ** y fail to parse #1029

Merged
merged 1 commit into from Apr 29, 2021

Conversation

robpalme
Copy link

@robpalme robpalme commented Apr 28, 2021

Implement grammar restrictions to prevent ambiguity as per spec. Test cases that fail with the old version and succeed with the new version are introduced.

Fixes: #1028

The previous attempt at fixing this did not cover all cases.

Implement grammar restrictions to prevent ambiguity.

Issue:
  acornjs#984

The previous attempt at achieving this did not cover all cases:
  acornjs@848d14e
@marijnh
Copy link
Member

marijnh commented Apr 29, 2021

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

await x ** y should fail to parse
2 participants