WebAssembly / wabt

The WebAssembly Binary Toolkit
Apache License 2.0
6.55k stars 675 forks source link

Replace table.full with table.fill #2433

Closed mjbshaw closed 1 week ago

mjbshaw commented 1 week ago

Presumably this was a typo and the TableFill op code (text instruction: table.fill) token should use the word "fill" instead of "full."

keithw commented 1 week ago

Thanks, nice catch! I think this string is only used to print the error message in a case like

(func v128.const table.fill 0 0 drop)

which currently generates:

error: Unexpected type at start of simd constant. Expected one of: i8x16, i16x8, i32x4, i64x2, f32x4, f64x2. Found "table.full".