Explorar o código

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