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

Add a test for for await (async of #2982

Merged
merged 1 commit into from May 4, 2021

Conversation

Zalathar
Copy link
Contributor

@Zalathar Zalathar commented May 4, 2021

This adds a test for for await (async of, since the identifier async is legal here.

Fixes #2979; motivated by babel/babel#13235.

Copy link
Contributor

@rwaldron rwaldron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, however @jugglinmike may want to see this as a set of templates/cases.

Copy link
Contributor

@jugglinmike jugglinmike left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A single hand-written test seems appropriate here. Nice work, @Zalathar, and thank you!

@jugglinmike jugglinmike merged commit c11d6b0 into tc39:main May 4, 2021
@Zalathar Zalathar deleted the for-await-async-of branch May 5, 2021 11:15
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.

Missing tests for for await (async of
3 participants