-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
fix: finally
causes unexpected return value
#17366
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
Conversation
liuxingbaoyu
commented
Jun 4, 2025
Q | A |
---|---|
Fixed Issues? | Fixes #17365 |
Patch: Bug Fix? | √ |
Major: Breaking Change? | |
Minor: New Feature? | |
Tests Added + Pass? | √ |
Documentation PR Link | |
Any Dependency Changes? | |
License | MIT |
// if ((method = entry[4]!)) { | ||
// arg = entry[5]; | ||
// } else { | ||
// method = OperatorType.Jump; | ||
// arg = entry[3]; | ||
// } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you think this is useful?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe add a note that the following line is a golfed version of this snippet? Otherwise at first glance they look like some unused code ready for the cleanup.
Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/59530 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Could you check if we can maybe import some tests from the TS repo?
I'm releasing this now.