Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test binary parser parses declarative element segment with
init
as …
…`vec(expr)` This commit adds a binary for `wasm-dis` that is generated from the following WAT file with a reference-interpreter from the `wasm-3.0+exn` branch: WebAssembly/spec@b16745e ```wat (module (elem declare funcref (item ref.func $f)) (func $f (block (ref.func $f) (drop) )) ) ``` The generated `.fromBinary` contains `(elem declare func $f)` instead of `(elem declare funcref (item ref.func $f))` because the parser doesn't preserve declarative segments. This is fine, as we test that the binary parser can parse the declarative element segment whose `init` is `vec(expr)` without trapping.
- Loading branch information