-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
Bundler does not put parentheses around logical OR operator when extending optional class #10487
Labels
bug
Something isn't working correctly
fix available
there is a fix available in a third party library that needs to be merged
swc
related to swc (bundling/transpiling)
Comments
Not going to create new ticket for it, but similar problems occurs when the unary operator (-) is used before an exponentiation the parentheses are removed: https://github.com/enkimute/ganja.js/blob/master/ganja.js#L617 |
kitsonk
added
bug
Something isn't working correctly
swc
related to swc (bundling/transpiling)
labels
May 4, 2021
cc/ @kdy1 |
kdy1
added a commit
to kdy1/swc
that referenced
this issue
May 4, 2021
1 task
kdy1
added a commit
to swc-project/swc
that referenced
this issue
May 4, 2021
…pr (#1636) swc_ecma_transforms_base: - Handle binary expressions in super class expressions. (denoland/deno#10487)
Fixed on upstream. |
lucacasonato
added
the
fix available
there is a fix available in a third party library that needs to be merged
label
May 4, 2021
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Something isn't working correctly
fix available
there is a fix available in a third party library that needs to be merged
swc
related to swc (bundling/transpiling)
For example:
This:
turns into this:
Spotted in the wild:
https://github.com/enkimute/ganja.js/blob/master/ganja.js#L146
The text was updated successfully, but these errors were encountered: