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
Hi. First, thank you for the great project.
I was adopting it into one of my projects and run into a bug. Please check the details below.
Input code
Config
Playground link
https://play.swc.rs/?version=1.3.64&code=H4sIAAAAAAAAA02MMQrEIBREe0%2Fxu%2BwWm%2B2Tcvu9g%2BgIguYHv0Jg8e7RDQRfMcVjZnzcOWX60Sdoka%2BOoEoucaRpfgtHvJwPmFalcPybFk6X0BaKGs4j2IVMHw8XODI2O5qr3jG8SU7FZE6P5%2BA7UnY0u96yqivrCQGTcsCoAAAA&config=H4sIAAAAAAAAA1WPPQ7CMAxG956i8gwjDNyBEyAGK7hVqvzJThFV1buTpkkLW%2Fw928%2BZm7aFQRTc2jk9UxGQhXivUyKTi%2FhJCZCyKIp1iHCqdJAVdWiEcrRsBCJyTzFPyaW0g%2FFeKGWRRyqR1U53069PeRuYROraXWXR9Yb%2BbU0xgvWvMcPyjzgF2uxXOJqqbF8MWu51sl4F5N7HIu2UGV8rf9RDIqOTzrM9K4MiJJDJc%2FU0yxd9B63KVAEAAA%3D%3D
Expected behavior
It's hard for me to say what it should yield in such a case, but here is the babel output for reference (with
transform-classes
):Actual behavior
Here is the result I get from swc. The problem here is that I am getting
TypeError
:Take a close look at the invocation in the line before the last one.
}(ClassName1)
There is no such reference yet.Version
1.3.65
Additional context
No response
The text was updated successfully, but these errors were encountered: