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>(
275275 let super_vtable = if use_instance_traits {
276276 class_obj. superclass_object ( ) . map ( |c| c. instance_vtable ( ) )
277277 } else {
278- class_obj. instance_of ( ) . map ( |c| c. instance_vtable ( ) )
278+ class_obj. instance_class ( ) . map ( |c| c. instance_vtable ( ) )
279279 } ;
280280
281281 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> {
224224 activation : & mut Activation < ' _ , ' gc > ,
225225 ) -> Result < ( ) , Error < ' gc > > {
226226 let class = self . inner_class_definition ( ) ;
227- self . instance_of ( ) . ok_or (
227+ self . instance_class ( ) . ok_or (
228228 "Cannot finish initialization of core class without it being linked to a type!" ,
229229 ) ?;
230230
You can’t perform that action at this time.
0 commit comments