فهرست منبع

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

git-svn-id: trunk@31261 -
florian 10 سال پیش
والد
کامیت
f1decfb6b6
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  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
            (