Skip to content

Commit

Permalink
Editorial: Add [[ImportName]] assertion for non-direct binding cases …
Browse files Browse the repository at this point in the history
…in ResolveExports (#3488)
  • Loading branch information
kimjg1119 authored and ljharb committed Jan 16, 2025
1 parent 519149d commit e645d2c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion esmeta-ignore.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"INTRINSICS.Atomics.notify",
"MakeMatchIndicesIndexPairArray",
"Record[SourceTextModuleRecord].ExecuteModule",
"Record[SourceTextModuleRecord].ResolveExport",
"TypedArrayGetElement",
"TypedArrayLength",
"TypedArraySetElement",
Expand Down
1 change: 1 addition & 0 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -28251,6 +28251,7 @@ <h1>
1. Return ResolvedBinding Record { [[Module]]: _importedModule_, [[BindingName]]: ~namespace~ }.
1. Else,
1. Assert: _module_ imports a specific binding for this export.
1. Assert: _e_.[[ImportName]] is a String.
1. Return _importedModule_.ResolveExport(_e_.[[ImportName]], _resolveSet_).
1. If _exportName_ is *"default"*, then
1. Assert: A `default` export was not explicitly defined by this module.
Expand Down

0 comments on commit e645d2c

Please sign in to comment.