Skip to content

[export-defer] Add interaction tests for import defer * as ns consumer#5039

Open
caiolima wants to merge 3 commits into
tc39:mainfrom
caiolima:export-defer-import-defer-consumer
Open

[export-defer] Add interaction tests for import defer * as ns consumer#5039
caiolima wants to merge 3 commits into
tc39:mainfrom
caiolima:export-defer-import-defer-consumer

Conversation

@caiolima

Copy link
Copy Markdown
Contributor

Verifies the combination of import defer * as ns and export defer barrel deferred evaluation rules: any interaction with the namespace triggers barrel evaluation, while only [[Get]] of a deferred-reexported binding triggers deferred-dep evaluation.

Test plan: #5010

Verifies the two layers of laziness when an `import defer * as ns`
consumer points at an `export defer` barrel: any interaction with the
namespace triggers barrel evaluation, while only [[Get]] of a
deferred-reexported binding triggers deferred-dep evaluation.
@caiolima caiolima requested a review from a team as a code owner April 27, 2026 18:04
@nicolo-ribaudo nicolo-ribaudo added the awaiting stage 2.7 Supports a "Stage 2" feature label May 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting stage 2.7 Supports a "Stage 2" feature needs review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants