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 async-to-generator ForAwait transform #5932

Merged

Conversation

jridgewell
Copy link
Member

Q A
Patch: Bug Fix? Yes
Major: Breaking Change? No
Minor: New Feature? No
Deprecations? No
Spec Compliancy? No
Tests Added/Pass? Yes
Fixed Tickets Fixes #5880
License MIT
Doc PR
Dependency Changes

This was a fun one. The issue wasn't actually transform-es2015-destructuring, but transform-async-to-generator using babel-traverse directly.

6.0 backport is #5931.

@jridgewell jridgewell added the PR: Bug Fix 🐛 A type of pull request used for our changelog categories label Jul 9, 2017
@mention-bot
Copy link

@jridgewell, thanks for your PR! By analyzing the history of the files in this pull request, we identified @hzoo, @zenparsing and @existentialism to be potential reviewers.

Copy link
Member

@hzoo hzoo left a comment

Choose a reason for hiding this comment

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

looks like there's a failing fixture test?

The old transform called an external `babel-traverse`, which doesn’t
does something funky.
@jridgewell jridgewell force-pushed the fix-async-to-generator-forawait-7.0 branch from ab83ca2 to d333f52 Compare July 10, 2017 03:40
@jridgewell
Copy link
Member Author

Whoops, output changed between 6.0 and 7.0. Fixed now.

@existentialism existentialism merged commit 51ff4dd into babel:7.0 Jul 10, 2017
@lock lock bot added the outdated A closed issue/PR that is archived due to age. Recommended to make a new issue label Oct 6, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Oct 6, 2019
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: Bug Fix 🐛 A type of pull request used for our changelog categories
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants