WebAssembly / wabt

The WebAssembly Binary Toolkit
Apache License 2.0
6.78k stars 691 forks source link

In the case of wasmGC, the encoding of the ref is incorrect. such as test/dump/typed_func_refds_params #2393

Open Guo-yyds opened 7 months ago

Guo-yyds commented 7 months ago

In the test/dump/typed_func_refds_params ,

image

image

ref----0x6b,but in the wasmGC standard,ref----0x64. if translate ref to 0x6b, the chrome will report an error.

image

This problem appears in the following two files. image