-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
fix(es/minifier): Don't optimize Number properties when Number is shadowed #10947
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
fix(es/minifier): Don't optimize Number properties when Number is shadowed #10947
Conversation
|
42905a2
to
520c8d3
Compare
CodSpeed Performance ReportMerging #10947 will not alter performanceComparing Summary
|
3fcb34e
to
8ffeb76
Compare
return; | ||
} | ||
} | ||
|
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.
Normally we just compare the ident's ctxt with expr_ctx.unresolved_ctxt
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, I edited
…dowed (swc-project#10947) **Related issue:** - Closes swc-project#10938
…dowed (swc-project#10947) **Related issue:** - Closes swc-project#10938
Don't optimize Number properties when Number is shadowed