@@ -2644,7 +2644,7 @@ impl<'a, 'gc, 'gc_context> Activation<'a, 'gc, 'gc_context> {
26442644 let multiname = self . pool_multiname_static ( method, type_name_index) ?;
26452645 let type_object = self . resolve_class ( & multiname) ?;
26462646
2647- let is_instance_of = value. is_of_type ( self , type_object) ? ;
2647+ let is_instance_of = value. is_of_type ( self , type_object) ;
26482648 self . context . avm2 . push ( is_instance_of) ;
26492649
26502650 Ok ( FrameControl :: Continue )
@@ -2660,8 +2660,7 @@ impl<'a, 'gc, 'gc_context> Activation<'a, 'gc, 'gc_context> {
26602660 . ok_or ( "Cannot check if value is of a type that is null, undefined, or not a class" ) ?;
26612661 let value = self . context . avm2 . pop ( ) ;
26622662
2663- let is_instance_of = value. is_of_type ( self , type_object) ?;
2664-
2663+ let is_instance_of = value. is_of_type ( self , type_object) ;
26652664 self . context . avm2 . push ( is_instance_of) ;
26662665
26672666 Ok ( FrameControl :: Continue )
@@ -2677,7 +2676,7 @@ impl<'a, 'gc, 'gc_context> Activation<'a, 'gc, 'gc_context> {
26772676 let multiname = self . pool_multiname_static ( method, type_name_index) ?;
26782677 let class = self . resolve_class ( & multiname) ?;
26792678
2680- if value. is_of_type ( self , class) ? {
2679+ if value. is_of_type ( self , class) {
26812680 self . context . avm2 . push ( value) ;
26822681 } else {
26832682 self . context . avm2 . push ( Value :: Null ) ;
@@ -2696,7 +2695,7 @@ impl<'a, 'gc, 'gc_context> Activation<'a, 'gc, 'gc_context> {
26962695 . ok_or ( "Cannot coerce a value to a type that is null, undefined, or not a class" ) ?;
26972696 let value = self . context . avm2 . pop ( ) ;
26982697
2699- if value. is_of_type ( self , class) ? {
2698+ if value. is_of_type ( self , class) {
27002699 self . context . avm2 . push ( value) ;
27012700 } else {
27022701 self . context . avm2 . push ( Value :: Null ) ;
0 commit comments