Semantics of importing a cycle
littledan opened this issue · 3 comments
littledan commented
The ECMAScript specification takes pains to make sure that, if you throw an exception from the top level of one module in a cycle, all modules in the cycle behave like throwing an exception. Should we do the same thing with top-level await? In particular, should awaiting one module in a cycle await all modules in the cycle loading? The current draft spec doesn't have this property.
zenparsing commented
Yes, it's important that the current evaluation properties with respect to cycles are maintained.