-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Layering: Rename Module.Instantiate to Module.Link #1465
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
Conversation
|
This patch is a rebase of #1312 |
|
I’ll update the original PR; please note that by opening a second PR (instead of just posting a link to the commits) i now have to keep both in sync to avoid stale refs on the repo. |
|
The original PR author had asked me to push forward the proposal, but I don't have write access to her repo. I don't want to make extra work for you. What do you recommend I do in this sort of case? (Also, I am curious, what do you mean by stale refs?) |
|
Ideally, the PR author would give you write access to the fork - second to that, update a branch on your fork, and post a link to it on the PR (and then an editor can update the author's fork to match your branch). (For every PR, github makes an |
|
@littledan I suspect you do have write access. Even I see
presumably because you added me to the tc39 organization recently. @ljharb I don't understand, it's not like you keep all old branches around? |
|
@annevk Oh, you're right, I do have write access. Closing this branch then, since I rebased the original. @ljharb Do you have a workflow in mind for how people should make use of the metadata that the editors strive to maintain? It may be useful to document this in the how-we-work repository. The decision to move away from "squashmerge" and "rebasemerge" have been controversial in the committee, and it's been unclear what the motivation is; it's nice to hear a bit about the reasoning here (though, like @annevk , I feel like I'm still missing something). Explaining the motivation to the committee could help us to make less work for you; I had no idea that it was considered undesirable to have a PR that didn't eventually merge. |
|
+1 to @littledan's concerns; I feel that there are a lot of contribution-hostile Git rules in place for this repo that are not documented. |
|
@annevk not old branches, but all PR refs live forever. @littledan this needs to stay open so i can keep them in sync. @domenic i think “hostile” is a bit hyperbolic; but this PR isn’t the place to discuss that. I’m certainly happy to document things better. |
|
What's needed to land this PR? |
2cbf848 to
05c7620
Compare
|
Thanks for the reminder; I've force pushed #1312's commit onto this PR branch, so it's auto-closed and the PR ref has been updated to match the other PR. |
The terminology between WebAssembly and ES modules differs when it comes to
instantiation, which causes some confusion for the integration of the two
systems. Ideally, we wouldn't use the same term to mean two different things
between the specs.
After talking about it with multiple people, it seems like calling it "the
linking phase" might be a better name for this phase anyway. Developers
are often confused about what actually happens during instantiation and
why it's separated from evaluation. I believe "linking" more clearly
communicates the justification for this being its own phase.