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
An export declaration (swc: named export) with module specifier's export specifiers are getting resolved as identifier references. I have a fix incoming.
dsherret
changed the title
export declaration with specifier has export specifiers identifiers tied to local declarations
Export declaration with specifier has export specifiers identifiers tied to local declarations
Dec 9, 2021
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
An export declaration (swc: named export) with module specifier's export specifiers are getting resolved as identifier references.
I have a fix incoming.Input code
Output Code When Mangled
Config
Playground link
https://play.swc.rs/?version=1.2.118&code=H4sIAAAAAAAAA8vMLcgvKlGoVvBMSc0rUahVSCvKz1VQ0tPPBPGVrHm5eLmS8%2FOK83NS9XLy0zXAyjTBwqkVhLQCAG1DNttdAAAA&config=H4sIAAAAAAAAA21QS24CMQy9i9csBhYIzZZ1z1BZg4NCk9iyDWKKcvcmdGBUqas8v5%2FsPOBiE4wPEFQj7cjm4niHEXwWskmjOGzArVEBk1Ftg2KxwJq7n8Vjjt%2B%2F4YtxiWHuMMdyZHMYh1p7BvVMbQKy3bDbtsrEbLSUbrp9CU6cRclslbCcE3XJWRLdKL2lLyL5nBKaFcxkf%2FnwDycab%2BjUXpZVinR4Y8OAGrfD69y%2BfObTddmgfcrziD3UdelXjX0sRtcr1R8cWxKAXQEAAA%3D%3D
Expected behavior
Should remain as
export { Ident } from "./ident";
Version
1.2.118
Additional context
No response
The text was updated successfully, but these errors were encountered: