Closed cdetrio closed 5 years ago
Good point, I think there is a dependency on multi-value and reference types so it would be good to state that clearly in the explainer and maybe a second time right before that first example. Both of these features should be shipping much sooner than interface types, so this shouldn't be a problem in practice.
Ok, done.
The explainer example Export returning string (statically allocated) says:
But it has a function that uses multiple return values:
The multi-value proposal is not standardized and only available in some implementations under an experimental flag.
Is the interface-types proposal dependent on the multi-value proposal, and if so should the explainer mention that?
The explainer does link to some post-MVP features such as reference types and module types, but it doesn't plainly state whether or not any post-MVP features are dependencies. Instead, the Overview section says "This proposal builds on the following existing and separately proposed high-level WebAssembly concepts:" with several links to the core spec, which gives the impression that it only depends on the core spec and not any post-MVP features. It would help to be more clear.