File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -756,12 +756,15 @@ impl<'a> TypeConverter<'a> {
756756 let option = ty. map ( |ty| self . component_val_type ( ty) ) . transpose ( ) ?;
757757 ValueType :: Defined ( self . types . add_defined_type ( DefinedType :: Future ( option) ) )
758758 }
759- wasm:: ComponentDefinedType :: FixedSizeList ( ty, _ ) => {
759+ wasm:: ComponentDefinedType :: FixedSizeList ( ty, size ) => {
760760 let ty = self . component_val_type ( * ty) ?;
761- ValueType :: Defined ( self . types . add_defined_type ( DefinedType :: List ( ty) ) )
761+ ValueType :: Defined (
762+ self . types
763+ . add_defined_type ( DefinedType :: FixedSizeList ( ty, * size) ) ,
764+ )
762765 }
763766 wasmparser:: component_types:: ComponentDefinedType :: Map ( _, _) => {
764- todo ! ( "wasmparser::component_types:: ComponentDefinedType::Map" ) ;
767+ bail ! ( "ComponentDefinedType::Map is not yet supported " ) ;
765768 }
766769 } ;
767770
You can’t perform that action at this time.
0 commit comments