WebAssembly / spec

WebAssembly specification, reference interpreter, and test suite.
https://webassembly.github.io/spec/
Other
3.13k stars 446 forks source link

Imports tag definition typo? #1802

Closed verbessern closed 4 days ago

verbessern commented 4 days ago

In section 2.5.12 Imports, the | tag tagtype suppose to be | tag typeidx I believe.

rossberg commented 4 days ago

Can you clarify which document you are looking at? The one in the wasm-3.0 branch of this repo has typeidx there, AFAICS.

verbessern commented 4 days ago

WebAssembly 2.0 2024.07.23 PDF, downloaded few days ago

rossberg commented 4 days ago

Presumably, that was downloaded from the EH repo, not this one?

That was already fixed in the 3.0 staging branch of this repo, but I just upstreamed the fix to avoid confusion.

verbessern commented 4 days ago

Yes, the first page does not contain the node about the EH, and so I have issued it here. Often the first page has a node about the proposal.

rossberg commented 4 days ago

Yeah, it seems like somebody forgot to add the proposal name to the spec config in the EH repo. I just did, for future clarity.