Skip to content
This repository has been archived by the owner on Aug 29, 2021. It is now read-only.

Wrong error returned in InnerModuleEvaluation? #147

Closed
Jamesernator opened this issue Oct 16, 2020 · 0 comments · Fixed by #152
Closed

Wrong error returned in InnerModuleEvaluation? #147

Jamesernator opened this issue Oct 16, 2020 · 0 comments · Fixed by #152

Comments

@Jamesernator
Copy link

Jamesernator commented Oct 16, 2020

I'm not confident this is incorrect, but I'm not clear that module.[[EvaluationError]] has been set in InnerModuleEvaluation step 12.d.iv.3:

  1. If requiredModule.[[EvaluationError]] is not undefined, return module.[[EvaluationError]].

Is this supposed to be return requiredModule.[[EvaluationError]]? As I believe the only way to reach here if module is currently still in evaluating phase, but [[EvaluationError]] is only set when the module is in the evaluated phase, so module.[[EvaluationError]] should still be undefined at this point.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant