Skip to content

fix: keep result of destructuring assignment at the end of a sequence - #18388

Closed
joellemd wants to merge 7 commits into
babel:mainfrom
joellemd:fix-destructuring-sequence-result
Closed

joellemd wants to merge 7 commits into
babel:mainfrom
joellemd:fix-destructuring-sequence-result

Conversation

@joellemd

Copy link
Copy Markdown
Contributor
Q                       A
Fixed Issues? Fixes #18350
Patch: Bug Fix? Yes
Major: Breaking Change?
Minor: New Feature?
Tests Added + Pass? Yes
Documentation PR Link
Any Dependency Changes?
Need backport? No
License MIT

@github-actions

Copy link
Copy Markdown

Thanks for opening this pull request! 🎉

We really appreciate you taking the time to contribute, @joellemd.

A maintainer will take a look as soon as they can. In the meantime, please make sure that:

  • the description explains what changed and why
  • any related issues are linked
  • existing tests still pass

If anything needs adjusting we'll leave comments here. Thanks again!

@babel-bot

babel-bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Collaborator

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

@pkg-pr-new

pkg-pr-new Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

commit: c46add1

@nicolo-ribaudo nicolo-ribaudo added the PR: Bug Fix 🐛 A type of pull request used for our changelog categories label Oct 21, 2026

@nicolo-ribaudo nicolo-ribaudo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

thanks!

@joellemd

joellemd commented Nov 4, 2026

Copy link
Copy Markdown
Contributor Author

@JLHwung should i close this in favor of your PR?

@JLHwung

JLHwung commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

Merging that PR will automatically close this one. That said, feel free to close it if you want to.

@joellemd joellemd closed this Nov 4, 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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Destructuring assignment loses its result at the end of a sequence expression

4 participants