We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SWC fails to transpile input.js.
input.js
try { var [ [] ] = [ , ] ; } catch { console.log("caught"); }
No response
https://play.swc.rs/?version=1.3.11&code=H4sIAAAAAAAAAyspqlSoVihLLFKIVoiOVYhVsAUydIC0tUItV3JiSXIGUDo5P684PydVLyc%2FXUMpObE0PaNESROkAABKZMdAPgAAAA%3D%3D&config=H4sIAAAAAAAAA0WMTQrEIAxG75K1286id5hDBCctFv9IUhgR714tlu7C915ehUMsrBUyshCPS0pU%2FMMKZAOKZZcVTNf6tKEXagYUeScdiiyd%2BZSEJjUQXHRbGSWbQmYSeRHG3T9m66GQfucYKmjJdAc%2F0N7G%2FHPynaLySe0Cj9ke9LUAAAA%3D
input.js is a valid JavaScript program:
$ node input.js caught
SWC crashes when the input.js is given:
1.3.11 (default SWC playground)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
SWC fails to transpile
input.js
.Input code
Config
No response
Playground link
https://play.swc.rs/?version=1.3.11&code=H4sIAAAAAAAAAyspqlSoVihLLFKIVoiOVYhVsAUydIC0tUItV3JiSXIGUDo5P684PydVLyc%2FXUMpObE0PaNESROkAABKZMdAPgAAAA%3D%3D&config=H4sIAAAAAAAAA0WMTQrEIAxG75K1286id5hDBCctFv9IUhgR714tlu7C915ehUMsrBUyshCPS0pU%2FMMKZAOKZZcVTNf6tKEXagYUeScdiiyd%2BZSEJjUQXHRbGSWbQmYSeRHG3T9m66GQfucYKmjJdAc%2F0N7G%2FHPynaLySe0Cj9ke9LUAAAA%3D
Expected behavior
input.js
is a valid JavaScript program:Actual behavior
SWC crashes when the
input.js
is given:Version
1.3.11 (default SWC playground)
Additional context
No response
The text was updated successfully, but these errors were encountered: