go-wasm
go-wasm copied to clipboard
Fix parsing the table section
The table type was not correctly parsed: the reftype byte wasn't read. This happened to allow the test to be parsed, but slightly incorrectly. Other wasm files cannot be parsed.
https://webassembly.github.io/spec/core/binary/types.html#table-types
I think this will fix #3 and maybe also #2.