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

fix(parser): allow top level await in expressions #213

Merged
merged 1 commit into from Mar 31, 2022
Merged

Conversation

3cp
Copy link
Member

@3cp 3cp commented Mar 31, 2022

Such as foo[await 1], foo(await 1).

closes #212

Such as foo[await 1], foo(await 1).

closes #212
@3cp 3cp requested a review from aladdin-add March 31, 2022 05:14
@fisker
Copy link
Collaborator

fisker commented Mar 31, 2022

Thanks for the quick fix!

@3cp
Copy link
Member Author

3cp commented Mar 31, 2022

I will release a patch version for the few accumulated bug fixes.

For the jsx bug and new export feature, they require considerable study. I will conquer them when I have enough free time :-)

@fisker
Copy link
Collaborator

fisker commented Mar 31, 2022

For the record, I have to move those await out of expressions for now prettier/prettier@094a715 😄

@3cp
Copy link
Member Author

3cp commented Mar 31, 2022

Thank you again! @aladdin-add

@3cp 3cp merged commit 39d8686 into master Mar 31, 2022
@3cp 3cp deleted the global-await branch March 31, 2022 09:56
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.

Can't parse top-level-await in call arguments
3 participants