Skip to content

Missing metadata in AllExport when using alias #121

Description

@y-nk

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 } ]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions