2
0
Эх сурвалжийг харах

Don't try to load the RTTI for reference counted classes.

defutil.pas, is_rtti_manage_type:
  * return False for classes even if tdef.needs_inittable returns True for reference counted ones

git-svn-id: branches/svenbarth/arc@28867 -
svenbarth 10 жил өмнө
parent
commit
80faa51a90
1 өөрчлөгдсөн 1 нэмэгдсэн , 0 устгасан
  1. 1 0
      compiler/defutil.pas

+ 1 - 0
compiler/defutil.pas

@@ -640,6 +640,7 @@ implementation
       begin
         result:=def.needs_inittable and not (
           is_interfacecom_or_dispinterface(def) or
+          is_class(def) or
           (def.typ=variantdef) or
           (
             (def.typ=stringdef) and