فهرست منبع

* fixed (harmless) class cast error

git-svn-id: trunk@14546 -
Jonas Maebe 15 سال پیش
والد
کامیت
80b651f79c
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      compiler/dbgdwarf.pas

+ 1 - 1
compiler/dbgdwarf.pas

@@ -2913,7 +2913,7 @@ implementation
             in this case because "this" is not a record in that case (it's a
             in this case because "this" is not a record in that case (it's a
             pointer to a vmt) }
             pointer to a vmt) }
           if not is_objc_class_or_protocol(tdef(sym.owner.defowner.owner.defowner)) and
           if not is_objc_class_or_protocol(tdef(sym.owner.defowner.owner.defowner)) and
-             not(po_classmethod in tprocdef(sym.owner.defowner).procoptions) then
+             not(po_classmethod in tabstractprocdef(sym.owner.defowner).procoptions) then
             result:='this'
             result:='this'
           else
           else
             result:='self'
             result:='self'