浏览代码

* remove "override" from automatically getter/setter if it's based upon an
existing getter setter (at a different visibility level) with a different
name, since the new one will have a unique name and not override anything
else

git-svn-id: trunk@27953 -

Jonas Maebe 11 年之前
父节点
当前提交
a8ed74d4d2
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      compiler/jvm/symcpu.pas

+ 1 - 0
compiler/jvm/symcpu.pas

@@ -388,6 +388,7 @@ implementation
               -> copy original procdef }
             pd:=tprocdef(orgaccesspd.getcopy);
             exclude(pd.procoptions,po_abstractmethod);
+            exclude(pd.procoptions,po_overridingmethod);
             { can only construct the artificial accessorname now, because it requires
               pd.defid }
             if not explicitwrapper then