-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reviews for Stage 2.7 #26
Comments
to clarify, reviewers are within stage 2, they're just a prerequisite for stage 2.7. |
|
LGTM |
My normative review:
My editorial review:
|
Will do my best to explain further, and happy to discuss more. The This is the required primitive for module expressions since a module expression would allow both The registry effectively consists of a Supporting I can work on more clearly motivating the above if it would help. The module full primitive goal is a crucial one to get right here though, we have to solve all of representation, postMessage and registry identity together, it's no use solving one without the other.
Can you clarify what you mean by this? The latest source phase spec it is based to is the one here - tc39/ecma262#3492, not the version in the spec repo, which is now out of date. Does that help?
Thanks, added in #39.
The benefit of defining this was that Wasm could define it in the same way for WebAssembly module records. I found myself writing this out in HTML explicitly, and it felt unnecessary there. Formally defining the meaning for equality for module sources needs to be done somewhere - either in HTML or ECMA-262. @michaelficarra also brought this one up though, maybe we should just cut it until it's needed to be called directly from ECMA-262 though? |
Oh I see, I completely misunderstood the use case then. I'll give it a second read tomorrow. |
I finished going through the spec -- consider my review as ✔ when 1/2/4 are solved (or explicitly not). |
Added #40 for points 1 & 2 above. For (3), yeah that's what we mean...
In the case where you do |
Thanks for the explanation, the use case makes sense to me. Step 9.b.i of EvaluateImportCall doesn't seem to allow
Ack. That helps and addresses my previous question. With the explanation, editorially LGTM. |
Thanks, added #42. |
Issue to track Stage 2 reviewers feedback.
Spec: https://tc39.es/proposal-esm-phase-imports/
Reviewers:
Editors:
The text was updated successfully, but these errors were encountered: