On 07/07/2016 22:33, Allen Wirfs-Brock wrote: > The spec. Only generates errors and does try to define error recovery. > That's up to the implementation.
OK, that makes sense. This situation would clearly be a bug in the module loader. Maybe it would be worth making ES robust against such bugs though. > But I would expect implementations to > discard any module records it created during a linking phase that throws > errors. This wasn't obvious to me from reading the spec, although there is an assertion in ModuleEvaluation that ModuleDeclarationInstantation has completed successfully first that would be invalidated in this case. Thanks, Jon _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

