Browse Source

* do not generate a vmt record for generics, they are only needed for specializations

git-svn-id: trunk@31261 -
florian 10 years ago
parent
commit
f1decfb6b6
1 changed files with 1 additions and 0 deletions
  1. 1 0
      compiler/pdecobj.pas

+ 1 - 0
compiler/pdecobj.pas

@@ -1534,6 +1534,7 @@ implementation
         { generate vmt space if needed }
         if not(oo_has_vmt in current_structdef.objectoptions) and
            not(oo_is_forward in current_structdef.objectoptions) and
+           not(parse_generic) and
            { no vmt for helpers ever }
            not is_objectpascal_helper(current_structdef) and
            (