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

Properly handle AsyncGeneratorUnwrapYieldResumption #56150

Merged
merged 1 commit into from
Oct 19, 2023
Merged

Properly handle AsyncGeneratorUnwrapYieldResumption #56150

merged 1 commit into from
Oct 19, 2023

Conversation

rbuckton
Copy link
Member

This updates the __asyncGenerator helper to more correctly observe AsyncGeneratorUnwrapYieldResumption with regards to the return method of an async generator.

Fixes #54768

@typescript-bot typescript-bot added Author: Team For Milestone Bug PRs that fix a bug with a specific milestone labels Oct 18, 2023
@rbuckton
Copy link
Member Author

rbuckton commented Oct 18, 2023

An update to tslib will follow shortly.

Fix for tslib is here: microsoft/tslib#222

@rbuckton rbuckton merged commit 7d3f387 into main Oct 19, 2023
19 checks passed
@rbuckton rbuckton deleted the fix54768 branch October 19, 2023 21:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Author: Team For Milestone Bug PRs that fix a bug with a specific milestone
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Lowered async generator return function doesn't resolve promise argument
3 participants