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
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
When a variable is assigned to
eval
function,_setPrototypeOf
will be removed by the mangler. This will cause a runtime error.Input code
Config
Playground link
https://play.swc.rs/?version=1.2.224&code=H4sIAAAAAAAAA0vOSSwuVnBUqOZSUEjOzysuKSpNLskv0nDUVKiu5arlSgbLOymkVpSk5qVgU%2BkEVKlQXFqQCmaC9YBkFZwVbBVSyxJzrLnyUssVnDQ0AbMGxVtrAAAA&config=H4sIAAAAAAAAA0WLywqEMBAE%2F6XPXr3kb4YwkUheTM%2FCivjvmmXBW9NVdWJnRDgxxKg2F4%2Fm8kWAxiqMlofjWuBim%2Fq8uWJBzS2nY%2Fqx12FKIiQp1AdJ24oiuH30CUvv1D%2B83vBHb9xqQbR%2FAAAA
Expected behavior
No runtime error.
Actual behavior
Uncaught ReferenceError: _setPrototypeOf is not defined
Version
1.2.224
Additional context
No response
The text was updated successfully, but these errors were encountered: