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
Given this code, which is invalid syntax:
interface Foo{};const foo;
{}
https://play.swc.rs/?version=1.7.1&code=H4sIAAAAAAAAA0srzUsuyczPU0jT0FSo5uIsSi0pLcpTsAmx4%2BLk1KiwUgjRtLWrsOaq5QIAdBqy7yoAAAA%3D&config=H4sIAAAAAAAAA1WPSw7DIAwF9zkF8rrbdtE79BAWdSIifrKJVBTl7iUE0maH3xsz8jooBbNoeKq1PMsQkYX4nEsi2Sf8lARIOxTNJia49XaWvRrRCtVoOxpIyBOluiX3hoMNQajjLXPGmzH%2FC3VwkUnkCu4o%2BsnSVTc0JbjwXmrZDkk50qF%2FwA%2FqsvNjMPLqm4kXGrYvhlQioBQBAAA%3D&strip-types=
;const foo;
It should throw an error since the syntax is invalid
Stripping types.
1.7.1
No response
The text was updated successfully, but these errors were encountered:
kdy1
No branches or pull requests
Describe the bug
Given this code, which is invalid syntax:
Input code
Config
Playground link (or link to the minimal reproduction)
https://play.swc.rs/?version=1.7.1&code=H4sIAAAAAAAAA0srzUsuyczPU0jT0FSo5uIsSi0pLcpTsAmx4%2BLk1KiwUgjRtLWrsOaq5QIAdBqy7yoAAAA%3D&config=H4sIAAAAAAAAA1WPSw7DIAwF9zkF8rrbdtE79BAWdSIifrKJVBTl7iUE0maH3xsz8jooBbNoeKq1PMsQkYX4nEsi2Sf8lARIOxTNJia49XaWvRrRCtVoOxpIyBOluiX3hoMNQajjLXPGmzH%2FC3VwkUnkCu4o%2BsnSVTc0JbjwXmrZDkk50qF%2FwA%2FqsvNjMPLqm4kXGrYvhlQioBQBAAA%3D&strip-types=
SWC Info output
;const foo;
Expected behavior
It should throw an error since the syntax is invalid
Actual behavior
Stripping types.
Version
1.7.1
Additional context
No response
The text was updated successfully, but these errors were encountered: