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

Support async do expressions #13116

Merged
merged 2 commits into from Apr 28, 2021
Merged

Conversation

JLHwung
Copy link
Contributor

@JLHwung JLHwung commented Apr 7, 2021

⚠️ Use the "Rebase and merge" button!

@JLHwung JLHwung added this to the v7.14.0 milestone Apr 7, 2021
@babel-bot
Copy link
Collaborator

babel-bot commented Apr 7, 2021

Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/45468/

@codesandbox-ci
Copy link

codesandbox-ci bot commented Apr 7, 2021

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit e9e5cab:

Sandbox Source
babel-repl-custom-plugin Configuration
babel-plugin-multi-config Configuration

@nicolo-ribaudo nicolo-ribaudo added the PR: Ready to be Merged A pull request with already two approvals, but waiting for the next minor release label Apr 12, 2021
@nicolo-ribaudo nicolo-ribaudo force-pushed the feat-7.14.0/async-do-expressions branch from 9c923a8 to 4135692 Compare April 12, 2021 14:19
JLHwung and others added 2 commits April 21, 2021 00:32
* parse async do expressions

* add test cases

* update test fixtures

* chore: add syntax-async-do-expressions

* generater support

* fix: do not transform async do expressions

* chore: add asyncDoExpressions to missing plugin helpers

* update ast types

* add more test cases

* throw when asyncDoExpressions is enabled but not doExpressions

* avoid add parentheses for async do expressions

* address review comments

* chore: update parser typings
Co-authored-by: Brian Ng <bng412@gmail.com>
@nicolo-ribaudo nicolo-ribaudo force-pushed the feat-7.14.0/async-do-expressions branch from 4135692 to e9e5cab Compare April 20, 2021 22:33
@nicolo-ribaudo nicolo-ribaudo merged commit 50e0e35 into main Apr 28, 2021
@nicolo-ribaudo nicolo-ribaudo deleted the feat-7.14.0/async-do-expressions branch April 28, 2021 16:26
@github-actions github-actions bot added the outdated A closed issue/PR that is archived due to age. Recommended to make a new issue label Jul 29, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 29, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated A closed issue/PR that is archived due to age. Recommended to make a new issue PR: Ready to be Merged A pull request with already two approvals, but waiting for the next minor release umbrella ☂️
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants