You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With eval, it makes a difference whether the callee is the literal identifier eval or just some expressions that is === eval. This is currently incorrectly optimized
swc_ecma_minifier:
- Don't change depth of function while negating if statements. (#2558)
swc_ecma_transforms_optimization:
- `dead_branch_remover`: Preserve `this`. (#2465, #2466)
swc:
- Make `toplevel` default to true if `module` is true. (#2254)
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.
Describe the bug
With eval, it makes a difference whether the callee is the literal identifier
eval
or just some expressions that is=== eval
. This is currently incorrectly optimizedInput code
Prints
true
,true
Config
Details
Current output
Prints
true
,false
Expected behavior
Output should be the same as the input
Version
98a18e3
Additional context
parcel-bundler/parcel#7116
The text was updated successfully, but these errors were encountered: