Hi Jason,

True, and so that's why I'm wondering if the module system can see that it
can satisfy all module requirements if it simply evaluates module C first,
followed by A or B in any order. It is easy for us humans to see that. It
would be nice for the module system to see that as well (I'm not sure if
that is spec'd or not).

- Joe

*/#!/*JoePea

On Tue, Aug 9, 2016 at 2:04 PM, Jason Orendorff <[email protected]>
wrote:

> On Tue, Aug 9, 2016 at 3:03 PM, /#!/JoePea <[email protected]> wrote:
>
>> Why is it that the body of module C is not evaluated before the bodies of
>> modules A and B?
>>
>
> The module system *does* execute all a module's dependencies before
> executing that module, *except* in cases like this where there are cycles
> in the dependency graph and that requirement is therefore impossible to
> satisfy for all modules simultaneously.
>
> -j
>
>
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to