Skip to content

Normative: Propagate phase in re-exported deferred imports#79

Open
nicolo-ribaudo wants to merge 1 commit intotc39:mainfrom
nicolo-ribaudo:follow-up-reexport-merging
Open

Normative: Propagate phase in re-exported deferred imports#79
nicolo-ribaudo wants to merge 1 commit intotc39:mainfrom
nicolo-ribaudo:follow-up-reexport-merging

Conversation

@nicolo-ribaudo
Copy link
Member

tc39/ecma262#3715 indirectly changed this code:

import defer * as ns from "foo";
export { ns };

to export a non-deferred namespace rather than a deferred one.

This PR restores the intended behavior, by propagating the phase appropriately.

Copy link

@caiolima caiolima left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just left a nit comment, otherwise it LGTM.

@nicolo-ribaudo nicolo-ribaudo force-pushed the follow-up-reexport-merging branch from 95d2625 to b067d7d Compare March 4, 2026 15:53
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

Successfully merging this pull request may close these issues.

2 participants