You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>*"\*default\*"* is used within this specification as a synthetic name for hoistable anonymous functions that are defined using export declarations.</p>
19922
+
<p>~default~ is used within this specification as a synthetic name for hoistable anonymous functions that are defined using export declarations.</p>
<p>*"\*default\*"* is used within this specification as a synthetic name for hoistable anonymous functions that are defined using export declarations.</p>
20859
+
<p>~default~ is used within this specification as a synthetic name for hoistable anonymous functions that are defined using export declarations.</p>
<p>*"\*default\*"* is used within this specification as a synthetic name for hoistable anonymous functions that are defined using export declarations.</p>
21182
+
<p>~default~ is used within this specification as a synthetic name for hoistable anonymous functions that are defined using export declarations.</p>
<emu-note>*"\*default\*"* is used within this specification as a synthetic name for hoistable anonymous functions that are defined using export declarations.</emu-note>
21843
+
<emu-note>~default~ is used within this specification as a synthetic name for hoistable anonymous functions that are defined using export declarations.</emu-note>
<p>Return the binding of a name exported by this module. Bindings are represented by a <dfn id="resolvedbinding-record">ResolvedBinding Record</dfn>, of the form { [[Module]]: Module Record, [[BindingName]]: String }. If the export is a Module Namespace Object without a direct binding in any module, [[BindingName]] will be set to *"\*namespace\*"*. Return *null* if the name cannot be resolved, or *"ambiguous"* if multiple bindings were found.</p>
23407
+
<p>Return the binding of a name exported by this module. Bindings are represented by a <dfn id="resolvedbinding-record">ResolvedBinding Record</dfn>, of the form { [[Module]]: Module Record, [[BindingName]]: ~default~ or ~namespace~ }. If the export is a Module Namespace Object without a direct binding in any module, [[BindingName]] will be set to ~namespace~. Return *null* if the name cannot be resolved, or ~ambiguous~ if multiple bindings were found.</p>
23408
23408
<p>Each time this operation is called with a specific _exportName_, _resolveSet_ pair as arguments it must return the same result if it completes normally.</p>
23409
23409
</td>
23410
23410
</tr>
@@ -24087,7 +24087,7 @@ <h1>Source Text Module Records</h1>
24087
24087
*null*
24088
24088
</td>
24089
24089
<td>
24090
-
*"\*default\*"*
24090
+
~default~
24091
24091
</td>
24092
24092
</tr>
24093
24093
<tr>
@@ -24104,7 +24104,7 @@ <h1>Source Text Module Records</h1>
<p>The ResolveExport concrete method of a Source Text Module Record implements the corresponding Module Record abstract method.</p>
24291
24291
<p>ResolveExport attempts to resolve an imported binding to the actual defining module and local binding name. The defining module may be the module represented by the Module Record this method was invoked on or some other module that is imported by that module. The parameter _resolveSet_ is used to detect unresolved circular import/export paths. If a pair consisting of specific Module Record and _exportName_ is reached that is already in _resolveSet_, an import circularity has been encountered. Before recursively calling ResolveExport, a pair consisting of _module_ and _exportName_ is added to _resolveSet_.</p>
24292
-
<p>If a defining module is found, a ResolvedBinding Record { [[Module]], [[BindingName]] } is returned. This record identifies the resolved binding of the originally requested export, unless this is the export of a namespace with no local binding. In this case, [[BindingName]] will be set to *"\*namespace\*"*. If no definition was found or the request is found to be circular, *null* is returned. If the request is found to be ambiguous, the string *"ambiguous"* is returned.</p>
24292
+
<p>If a defining module is found, a ResolvedBinding Record { [[Module]], [[BindingName]] } is returned. This record identifies the resolved binding of the originally requested export, unless this is the export of a namespace with no local binding. In this case, [[BindingName]] will be set to ~namespace~. If no definition was found or the request is found to be circular, *null* is returned. If the request is found to be ambiguous, ~ambiguous~ is returned.</p>
24293
24293
<p>This abstract method performs the following steps:</p>
1. For each ExportEntry Record _e_ of _module_.[[StarExportEntries]], do
24323
24323
1. Let _importedModule_ be ? HostResolveImportedModule(_module_, _e_.[[ModuleRequest]]).
24324
24324
1. Let _resolution_ be ? _importedModule_.ResolveExport(_exportName_, _resolveSet_).
24325
-
1. If _resolution_ is *"ambiguous"*, return *"ambiguous"*.
24325
+
1. If _resolution_ is ~ambiguous~, return ~ambiguous~.
24326
24326
1. If _resolution_ is not *null*, then
24327
24327
1. Assert: _resolution_ is a ResolvedBinding Record.
24328
24328
1. If _starResolution_ is *null*, set _starResolution_ to _resolution_.
24329
24329
1. Else,
24330
24330
1. Assert: There is more than one `*` import that includes the requested name.
24331
-
1. If _resolution_.[[Module]] and _starResolution_.[[Module]] are not the same Module Record or SameValue(_resolution_.[[BindingName]], _starResolution_.[[BindingName]]) is *false*, return *"ambiguous"*.
24331
+
1. If _resolution_.[[Module]] and _starResolution_.[[Module]] are not the same Module Record or SameValue(_resolution_.[[BindingName]], _starResolution_.[[BindingName]]) is *false*, return ~ambiguous~.
1. Let _entry_ be the ExportEntry Record { [[ModuleRequest]]: *null*, [[ImportName]]: *null*, [[LocalName]]: *"\*default\*"*, [[ExportName]]: *"default"* }.
24965
+
1. Let _entry_ be the ExportEntry Record { [[ModuleRequest]]: *null*, [[ImportName]]: *null*, [[LocalName]]: ~default~, [[ExportName]]: *"default"* }.
24966
24966
1. Return a new List containing _entry_.
24967
24967
</emu-alg>
24968
24968
<emu-note>
24969
-
<p>*"\*default\*"* is used within this specification as a synthetic name for anonymous default export values.</p>
24969
+
<p>~default~ is used within this specification as a synthetic name for anonymous default export values.</p>
0 commit comments