X Tutup
Skip to content

fix: Properly handle await in finally#17797

Merged
nicolo-ribaudo merged 1 commit intobabel:mainfrom
liuxingbaoyu:fix-17794
Feb 15, 2026
Merged

fix: Properly handle await in finally#17797
nicolo-ribaudo merged 1 commit intobabel:mainfrom
liuxingbaoyu:fix-17794

Conversation

@liuxingbaoyu
Copy link
Member

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

@babel-bot
Copy link
Collaborator

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

@pkg-pr-new
Copy link

pkg-pr-new bot commented Feb 14, 2026

Open in StackBlitz

commit: 8f120e1

@liuxingbaoyu liuxingbaoyu added PR: Bug Fix 🐛 A type of pull request used for our changelog categories PR: Bug Fix (next major) 🐛 A type of pull request used for our changelog categories for next major release Spec: Async Generators and removed PR: Bug Fix 🐛 A type of pull request used for our changelog categories labels Feb 14, 2026
@nicolo-ribaudo nicolo-ribaudo merged commit f6ff87f into babel:main Feb 15, 2026
54 checks passed
@nicolo-ribaudo
Copy link
Member

Could you backport this?

This was referenced Feb 15, 2026
This was referenced Feb 17, 2026
@nicolo-ribaudo nicolo-ribaudo added the PR: Bug Fix 🐛 A type of pull request used for our changelog categories label Mar 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: Bug Fix 🐛 A type of pull request used for our changelog categories PR: Bug Fix (next major) 🐛 A type of pull request used for our changelog categories for next major release Spec: Async Generators

Projects

None yet

Development

Successfully merging this pull request may close these issues.

babel-plugin-transform-async-generator-functions yields await values in finally block if return is called on it

4 participants

X Tutup