Skip to content
New issue

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

Missing metadata in AllExport when using alias #121

Open
y-nk opened this issue Dec 23, 2022 · 0 comments
Open

Missing metadata in AllExport when using alias #121

y-nk opened this issue Dec 23, 2022 · 0 comments

Comments

@y-nk
Copy link

y-nk commented Dec 23, 2022

Steps to reproduce

import * from './subtest/test1'
import * as test2 from './subtest/test2' // ← broken case

Current behavior

Both will create something like:

{ e: AllExport { start: 0, end: 31, from: './subtest/test1' } }
{ e: AllExport { start: 32, end: 76, from: './subtest/test2' } }

Expected behavior

test2 should also have a specifiers: [ SymbolSpecifier { specifier: 'test2', alias: undefined } ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant