Skip to content

Comments

Properly handle AsyncGeneratorUnwrapYieldResumption#56150

Merged
rbuckton merged 1 commit intomainfrom
fix54768
Oct 19, 2023
Merged

Properly handle AsyncGeneratorUnwrapYieldResumption#56150
rbuckton merged 1 commit intomainfrom
fix54768

Conversation

@rbuckton
Copy link
Contributor

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
Contributor 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
@rbuckton rbuckton deleted the fix54768 branch October 19, 2023 21:16
@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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