Skip to content

Conversation

@liuxingbaoyu
Copy link
Member

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

The issue comes from the fact that .remove removes the binding, while replaceWith does not.

@liuxingbaoyu liuxingbaoyu added pkg: generator Spec: Async Functions PR: Bug Fix 🐛 A type of pull request used for our changelog categories and removed pkg: generator labels Oct 22, 2025
@babel-bot
Copy link
Collaborator

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

@pkg-pr-new
Copy link

pkg-pr-new bot commented Oct 22, 2025

Open in StackBlitz

commit: 32ada12

@JLHwung JLHwung merged commit 777ded7 into babel:main Nov 7, 2025
74 checks passed
kadhirash pushed a commit to kadhirash/babel that referenced this pull request Nov 11, 2025
@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 Feb 7, 2026
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 7, 2026
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 Spec: Async Functions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Variable scoping error causes wrong variable to be inlined

4 participants