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
1. Let _requests_ be the ModuleRequests of |ModuleItemList|.
289
289
1. Let _additionalRequests_ be the ModuleRequests of |ModuleItem|.
290
290
1. For each ModuleRequest Record _mr_ of _additionalRequests_, do
291
+
1. <del>If _requests_ does not contain a ModuleRequest Record _mr2_ such that ModuleRequestsEqual(_mr_, _mr2_) is *true* and _mr_.[[Phase]] is _mr2_.[[Phase]], then</del>
291
292
1. <ins>Let _existingRequest_ be ~empty~.</ins>
292
-
1. <ins>For each ModuleRequests Record _mr2_ of _additionalRequests_, do</ins>
293
+
1. <ins>For each ModuleRequests Record _mr2_ of _requests_, do</ins>
293
294
1. <ins>If ModuleRequestsEqual(_mr_, _mr2_) is *true* and _mr_.[[Phase]] is _mr2_.[[Phase]], then</ins>
294
295
1. <ins>Assert: _existingRequest_ is ~empty~.</ins>
295
296
1. <ins>Set _existingRequest_ to _mr2_.</ins>
296
-
1. <del>If _requests_ does not contain a ModuleRequest Record _mr2_ such that ModuleRequestsEqual(_mr_, _mr2_) is *true* and _mr_.[[Phase]] is _mr2_.[[Phase]], then</del>
297
297
1. <ins>If _existingRequest_ is ~empty~, then</ins>
298
298
1. Append _mr_ to _requests_.
299
299
1. <ins>Else,</ins>
@@ -494,7 +494,7 @@ contributors: Nicolò Ribaudo
494
494
ResolveExport(_exportName_ [, _resolveSet_])
495
495
</td>
496
496
<td>
497
-
<p>Return the binding of a name exported by this module. Bindings are represented by a <dfn id="resolvedbinding-record" variants="ResolvedBinding Records">ResolvedBinding Record</dfn>, of the form { [[Module]]: Module Record, [[BindingName]]: String | ~namespace~, <ins>[[DeferredModules]]: List of Module Records</ins> }. If the export is a Module Namespace Object without a direct binding in any module, [[BindingName]] will be set to ~namespace~. <ins>[[DeferredModule]] is the list of modules imported through `export defer` that the binding resolution process needs to go through, which need to be evaluated in order to have access to the resolved binding.</ins> Return *null* if the name cannot be resolved, or ~ambiguous~ if multiple bindings were found.</p>
497
+
<p>Return the binding of a name exported by this module. Bindings are represented by a <dfn id="resolvedbinding-record" variants="ResolvedBinding Records">ResolvedBinding Record</dfn>, of the form { [[Module]]: Module Record, [[BindingName]]: String | ~namespace~, <ins>[[DeferredModules]]: List of Module Records</ins> }. If the export is a Module Namespace Object without a direct binding in any module, [[BindingName]] will be set to ~namespace~. <ins>[[DeferredModule]] is the list of modules imported through `export defer` that the binding resolution process needs to go through which need to be evaluated in order to have access to the resolved binding.</ins> Return *null* if the name cannot be resolved, or ~ambiguous~ if multiple bindings were found.</p>
498
498
<p>Each time this operation is called with a specific _exportName_, _resolveSet_ pair as arguments it must return the same result.</p>
499
499
<p>LoadRequestedModules must have completed successfully prior to invoking this method.</p>
0 commit comments