Skip to content

Commit

Permalink
Update 0-module-and-module-source.emu
Browse files Browse the repository at this point in the history
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
  • Loading branch information
2 people authored and kriskowal committed Aug 18, 2022
1 parent ff26227 commit 02f13d7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion 0-module-and-module-source.emu
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,10 @@ location: https://tc39.es/proposal-compartments/

<ul>
<li>
It must return ~unused~. It must call ResolveModuleRecordDependency for every unique |ModuleSpecifier| associated to the _moduleRecord_. Success or failure must instead be signaled as discussed below.
It must call ResolveModuleRecordDependency for every (_moduleRecord_, _specifierString_) pair, where _specifierString_ are the entries of _moduleRecord.[[RequestedModules]] for each recursively resolved Cyclic Module Record _moduleRecord_. ResolveModuleRecordDependency must not be called twice with the same (_moduleRecord_, _specifierString_) pair: instead, the result of the first call should be cached and reused as the result of successive resolutions.
</li>
<li>
It must return ~unused~. Success or failure must instead be signaled as discussed below.
</li>
<li>
The host environment must conform to one of the two following sets of requirements:
Expand Down

0 comments on commit 02f13d7

Please sign in to comment.