WebAssembly / component-model

Repository for design and specification of the Component Model
Other
897 stars 75 forks source link

Inconsistency in Grammar #333

Closed thesuhas closed 3 months ago

thesuhas commented 3 months ago

Hi, In the grammar there is the following line: The next two productions, core:instance and core:alias, are not currently included in Core WebAssembly, but would be if Core WebAssembly adopted the module-linking proposal.

But, if you look at the productions of the component, there is no core:alias. I was just wondering if this could be cleared up.

https://github.com/WebAssembly/component-model/blob/main/design/mvp/Explainer.md#grammar

lukewagner commented 3 months ago

Thanks, good find! I think it must have been removed a while back and the text wasn't updated accordingly. Fixed in this commit. I'll close this issue, but feel free to reopen if there's anything else to say.