@@ -10,7 +10,7 @@ use core::ops::Deref;
1010use wasmtime_environ:: PanicOnOom as _;
1111use wasmtime_environ:: component:: {
1212 ComponentTypes , Export , InterfaceType , ResourceIndex , TypeComponentIndex ,
13- TypeComponentInstanceIndex , TypeDef , TypeEnumIndex , TypeFixedSizeListIndex , TypeFlagsIndex ,
13+ TypeComponentInstanceIndex , TypeDef , TypeEnumIndex , TypeFixedLengthListIndex , TypeFlagsIndex ,
1414 TypeFuncIndex , TypeFutureIndex , TypeFutureTableIndex , TypeListIndex , TypeMapIndex ,
1515 TypeModuleIndex , TypeOptionIndex , TypeRecordIndex , TypeResourceTable , TypeResourceTableIndex ,
1616 TypeResultIndex , TypeStreamIndex , TypeStreamTableIndex , TypeTupleIndex , TypeVariantIndex ,
@@ -166,10 +166,10 @@ impl TypeChecker<'_> {
166166 ( InterfaceType :: Stream ( _) , _) => false ,
167167 ( InterfaceType :: ErrorContext ( _) , InterfaceType :: ErrorContext ( _) ) => true ,
168168 ( InterfaceType :: ErrorContext ( _) , _) => false ,
169- ( InterfaceType :: FixedLengthList ( t1) , InterfaceType :: FixedSizeList ( t2) ) => {
169+ ( InterfaceType :: FixedLengthList ( t1) , InterfaceType :: FixedLengthList ( t2) ) => {
170170 self . fixed_length_lists_equal ( t1, t2)
171171 }
172- ( InterfaceType :: FixedSizeList ( _) , _) => false ,
172+ ( InterfaceType :: FixedLengthList ( _) , _) => false ,
173173 }
174174 }
175175
@@ -389,7 +389,7 @@ pub struct FixedLengthList(Handle<TypeFixedLengthListIndex>);
389389impl PartialEq for FixedLengthList {
390390 fn eq ( & self , other : & Self ) -> bool {
391391 self . 0
392- . equivalent ( & other. 0 , TypeChecker :: fixed_size_lists_equal )
392+ . equivalent ( & other. 0 , TypeChecker :: fixed_length_lists_equal )
393393 }
394394}
395395
@@ -783,7 +783,7 @@ pub enum Type {
783783 Future ( FutureType ) ,
784784 Stream ( StreamType ) ,
785785 ErrorContext ,
786- FixedSizeList ( FixedSizeList ) ,
786+ FixedLengthList ( FixedLengthList ) ,
787787}
788788
789789impl Type {
@@ -946,7 +946,7 @@ impl Type {
946946 InterfaceType :: Stream ( index) => Type :: Stream ( instance. stream_type ( * index) ) ,
947947 InterfaceType :: ErrorContext ( _) => Type :: ErrorContext ,
948948 InterfaceType :: FixedLengthList ( index) => {
949- Type :: FixedLengthList ( FixedSizeList :: from ( * index, instance) )
949+ Type :: FixedLengthList ( FixedLengthList :: from ( * index, instance) )
950950 }
951951 }
952952 }
@@ -980,7 +980,7 @@ impl Type {
980980 Type :: Future ( _) => "future" ,
981981 Type :: Stream ( _) => "stream" ,
982982 Type :: ErrorContext => "error-context" ,
983- Type :: FixedSizeList ( _) => "list<_, N>" ,
983+ Type :: FixedLengthList ( _) => "list<_, N>" ,
984984 }
985985 }
986986}
0 commit comments