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

semantic: should not depend on module record #3796

Closed
Boshen opened this issue Jun 20, 2024 · 0 comments · Fixed by #3820
Closed

semantic: should not depend on module record #3796

Boshen opened this issue Jun 20, 2024 · 0 comments · Fixed by #3820
Assignees
Labels
C-bug Category - Bug

Comments

@Boshen
Copy link
Member

Boshen commented Jun 20, 2024

babel exports/imported-types/input.ts

import type A from "A";
import type { B } from "B";
import C from "C";

export { A, B, C } // <-- A and B will be removed

is transformed to

export { C };

after ModuleRecord is removed, add_export_flag_for_export_identifier should not depend on ModulreRecord.

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

Successfully merging a pull request may close this issue.

2 participants