@@ -50,15 +50,15 @@ impl Encodable {
5050
5151 fn ty ( & mut self ) -> ComponentTypeEncoder {
5252 match self {
53- Encodable :: Builder ( t) => t. ty ( ) . 1 ,
53+ Encodable :: Builder ( t) => t. ty ( None ) . 1 ,
5454 Encodable :: Instance ( t) => t. ty ( ) ,
5555 Encodable :: Component ( t) => t. ty ( ) ,
5656 }
5757 }
5858
5959 fn core_type ( & mut self ) -> ComponentCoreTypeEncoder {
6060 match self {
61- Encodable :: Builder ( t) => t. core_type ( ) . 1 ,
61+ Encodable :: Builder ( t) => t. core_type ( None ) . 1 ,
6262 Encodable :: Instance ( t) => t. core_type ( ) ,
6363 Encodable :: Component ( t) => t. core_type ( ) ,
6464 }
@@ -79,7 +79,7 @@ impl Encodable {
7979 fn alias ( & mut self , alias : Alias ) {
8080 match self {
8181 Encodable :: Builder ( t) => {
82- t. alias ( alias) ;
82+ t. alias ( None , alias) ;
8383 }
8484 Encodable :: Instance ( t) => {
8585 t. alias ( alias) ;
@@ -399,7 +399,7 @@ impl<'a> TypeEncoder<'a> {
399399
400400 match state. pop ( ) {
401401 Encodable :: Component ( ty) => {
402- let ( index, encoder) = state. builder ( ) . ty ( ) ;
402+ let ( index, encoder) = state. builder ( ) . ty ( None ) ;
403403 encoder. component ( & ty) ;
404404 log:: debug!( "encoded interface definition of `{iid}` to type index {index}" , ) ;
405405 index
@@ -420,7 +420,7 @@ impl<'a> TypeEncoder<'a> {
420420
421421 match state. pop ( ) {
422422 Encodable :: Component ( ty) => {
423- let ( index, encoder) = state. builder ( ) . ty ( ) ;
423+ let ( index, encoder) = state. builder ( ) . ty ( None ) ;
424424 encoder. component ( & ty) ;
425425 log:: debug!( "encoded world definition of `{world_id}` to type index {index}" ) ;
426426 index
0 commit comments