Skip to content

Commit e5a20d0

Browse files
committed
handle reading correctly
1 parent 61300c8 commit e5a20d0

File tree

1 file changed

+1
-0
lines changed
  • crates/wasmparser/src/readers/component

1 file changed

+1
-0
lines changed

crates/wasmparser/src/readers/component/types.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -529,6 +529,7 @@ impl<'a> ComponentDefinedType<'a> {
529529
.collect::<Result<_>>()?,
530530
),
531531
0x70 => ComponentDefinedType::List(reader.read()?),
532+
0x67 => ComponentDefinedType::FixedSizeList(reader.read()?, reader.read_var_u32()? as usize),
532533
0x6f => ComponentDefinedType::Tuple(
533534
reader
534535
.read_iter(MAX_WASM_TUPLE_TYPES, "tuple types")?

0 commit comments

Comments
 (0)