@@ -684,7 +684,7 @@ impl MakeExtensionOp for MakeTuple {
684
684
let tys: Result < Vec < Type > , _ > = elems
685
685
. iter ( )
686
686
. map ( |a| match a {
687
- TypeArg :: Type ( ty) => Ok ( ty. clone ( ) ) ,
687
+ TypeArg :: Runtime ( ty) => Ok ( ty. clone ( ) ) ,
688
688
_ => Err ( SignatureError :: InvalidTypeArgs ) ,
689
689
} )
690
690
. collect ( ) ;
@@ -739,7 +739,7 @@ impl MakeExtensionOp for UnpackTuple {
739
739
let tys: Result < Vec < Type > , _ > = elems
740
740
. iter ( )
741
741
. map ( |a| match a {
742
- Term :: Type ( ty) => Ok ( ty. clone ( ) ) ,
742
+ Term :: Runtime ( ty) => Ok ( ty. clone ( ) ) ,
743
743
_ => Err ( SignatureError :: InvalidTypeArgs ) ,
744
744
} )
745
745
. collect ( ) ;
@@ -851,7 +851,7 @@ impl MakeExtensionOp for Noop {
851
851
Self : Sized ,
852
852
{
853
853
let _def = NoopDef :: from_def ( ext_op. def ( ) ) ?;
854
- let [ TypeArg :: Type ( ty) ] = ext_op. args ( ) else {
854
+ let [ TypeArg :: Runtime ( ty) ] = ext_op. args ( ) else {
855
855
return Err ( SignatureError :: InvalidTypeArgs ) ?;
856
856
} ;
857
857
Ok ( Self ( ty. clone ( ) ) )
@@ -963,7 +963,7 @@ impl MakeExtensionOp for Barrier {
963
963
let tys: Result < Vec < Type > , _ > = elems
964
964
. iter ( )
965
965
. map ( |a| match a {
966
- TypeArg :: Type ( ty) => Ok ( ty. clone ( ) ) ,
966
+ TypeArg :: Runtime ( ty) => Ok ( ty. clone ( ) ) ,
967
967
_ => Err ( SignatureError :: InvalidTypeArgs ) ,
968
968
} )
969
969
. collect ( ) ;
0 commit comments