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
When I run the swc, I get a serious error from swc
thread '<unnamed>' panicked at 'called `Option::unwrap()` on a `None` value', ecmascript/transforms/compat/src/es2015/destructuring.rs:181:42
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
failed to handle: called `Option::unwrap()` on a `None` valueError: Failed to compile 1 file with swc. at Object.assertCompilationResult (/D/N2ttFuzz/src/node_modules/@swc/cli/lib/swc/util.js:115:15) at files (/D/N2ttFuzz/src/node_modules/@swc/cli/lib/swc/file.js:175:18) at async _default (/D/N2ttFuzz/src/node_modules/@swc/cli/lib/swc/file.js:194:9)
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 I run the swc, I get a serious error from swc
Input code
Config
Playground link
https://play.swc.rs/?version=1.2.111&code=H4sIAAAAAAAAA0vOzysuUYiu0FGo1FHQ09OrilWwVYg2jLUGAP75xrgZAAAA&config=H4sIAAAAAAAAA0VOOw6DMAy9i2fWLtygA4ewgkFBSRzZRmqKuHsTNcBkv4%2Ff8wGbOhgPyChK0jYtyfADI5CLqE58NhiqrVILBqVzAENZyZpFX1ULzEpdHSD65JfSkhzHLKT6SJjWcDnPGhR53htxgJVcZzuJnDatqWrind23fzjx%2FDQF%2FJYbJH4nI%2BH8vHl90h1ep15nstP5A1SlDpf7AAAA
Expected behavior
It's the expected transform
Version
1.2.111
Additional context
I run swc use cmd as follows
The environment is ubuntu 20.04 amd64.
The text was updated successfully, but these errors were encountered: