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

Remove one promise tick in yield* (tc39/ecma262#2819) #14877

Merged
merged 3 commits into from Sep 1, 2022

Conversation

nicolo-ribaudo
Copy link
Member

@nicolo-ribaudo nicolo-ribaudo commented Aug 25, 2022

Q                       A
Fixed Issues? Fixes #1, Fixes #2
Patch: Bug Fix?
Major: Breaking Change?
Minor: New Feature?
Tests Added + Pass? Yes
Documentation PR Link
Any Dependency Changes?
License MIT

This PR implements tc39/ecma262#2819, that reached consensus in the July TC39 meeting. The first commit moves the helpers to their own files without modifying them, so it's easier to only review the other commits (so that you clearly see what changes I made).

I chose to not bump the helpers min versions because this change is fully self-contained in the helpers, and because I didn't add any new parameter to their public API. Users can get this change by just updating their helpers (@babel/runtime).

@babel-bot
Copy link
Collaborator

babel-bot commented Aug 25, 2022

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

@nicolo-ribaudo nicolo-ribaudo force-pushed the ecma262-pr-2819 branch 2 times, most recently from daeaad0 to 6978c93 Compare August 25, 2022 16:17
@nicolo-ribaudo nicolo-ribaudo added PR: Spec Compliance 👓 A type of pull request used for our changelog categories Spec: Async Generators labels Aug 25, 2022
@nicolo-ribaudo nicolo-ribaudo marked this pull request as ready for review August 25, 2022 16:28
@JLHwung JLHwung merged commit 1516a42 into babel:main Sep 1, 2022
@nicolo-ribaudo nicolo-ribaudo deleted the ecma262-pr-2819 branch September 1, 2022 18:02
@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 Dec 2, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 2, 2022
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: Spec Compliance 👓 A type of pull request used for our changelog categories Spec: Async Generators
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants