File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -275,7 +275,7 @@ fn describe_internal_body<'gc>(
275
275
let super_vtable = if use_instance_traits {
276
276
class_obj. superclass_object ( ) . map ( |c| c. instance_vtable ( ) )
277
277
} else {
278
- class_obj. instance_of ( ) . map ( |c| c. instance_vtable ( ) )
278
+ class_obj. instance_class ( ) . map ( |c| c. instance_vtable ( ) )
279
279
} ;
280
280
281
281
if flags. contains ( DescribeTypeFlags :: INCLUDE_INTERFACES ) && use_instance_traits {
Original file line number Diff line number Diff line change @@ -224,7 +224,7 @@ impl<'gc> ClassObject<'gc> {
224
224
activation : & mut Activation < ' _ , ' gc > ,
225
225
) -> Result < ( ) , Error < ' gc > > {
226
226
let class = self . inner_class_definition ( ) ;
227
- self . instance_of ( ) . ok_or (
227
+ self . instance_class ( ) . ok_or (
228
228
"Cannot finish initialization of core class without it being linked to a type!" ,
229
229
) ?;
230
230
You can’t perform that action at this time.
0 commit comments