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
panicked at 'failed to determine top-level Id for jsx expression', /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/swc_ecma_transforms_typescript-0.179.3/src/strip.rs:252:13
Version
1.3.64
Additional context
No response
The text was updated successfully, but these errors were encountered:
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
SWC panics when transpiling TypeScript if
@jsxFrag
isnull
.Input code
Config
Playground link
https://play.swc.rs/?version=1.3.64&code=H4sIAAAAAAAAA9PXUnDIKq5QyFDQ0ufSh3DcihLTFfJKc3JAYjZ2Nvp21lwASiTFyigAAAA%3D&config=H4sIAAAAAAAAA6vmUlBQyipOVrJSqAYygZyCxKLi1CI4HyhSXJlXklgBFFEqqSxILU4uyiwoUdKByZYUg6RKikpTwSK1QLIWJKmUWeybn1KakwqTreUCAAfv7CNtAAAA
Expected behavior
Babel and tsc output is
h(null, null)
.Actual behavior
Version
1.3.64
Additional context
No response
The text was updated successfully, but these errors were encountered: