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.
Verify canary release
Provide environment information
What browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
No response
Describe the Bug
Noticed this while trying out
transpilePackages
on themonaco-editor
package.It contains some code That reassigns to a class, simple reproduction:
I believe this type of code is generated by
tsc
for namespaces in https://github.com/microsoft/vscode/blob/63f8550155e5ac7b83e1828002e272e6e44f50d3/src/vs/base/common/color.ts#L485. See this typescript playground exampleNext.js throws an error for this code
yet this is valid javascript
Expected Behavior
No error, this is valid javascript
Link to reproduction - Issues with a link to complete (but minimal) reproduction code will be addressed faster
https://codesandbox.io/s/suspicious-bell-7nonzn?file=/pages/index.js
To Reproduce
Open the code sandbox, look at the terminal
related swc-project/swc#6471
The text was updated successfully, but these errors were encountered: