Explorar o código

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 %!s(int64=10) %!d(string=hai) anos
pai
achega
80faa51a90
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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