WebAssembly / gc

Branch of the spec repo scoped to discussion of GC integration in WebAssembly
https://webassembly.github.io/gc/
Other
997 stars 72 forks source link

[spec] Fix the instruction types of `array.new_default` and `array.len` #451

Closed q82419 closed 1 year ago

q82419 commented 1 year ago

According to the validation of array.new_default, the type is [i32] -> [(ref x)], but in the appendix page is [] -> [(ref x)].

According to the validation of array.len, the type is [arrayref] -> [i32], but in the appendix page is [arrayref] -> [].