* reverted r7675

git-svn-id: trunk@7702 -
This commit is contained in:
florian 2007-06-17 13:17:44 +00:00
parent 663e020402
commit 72d49f3033

View File

@ -1168,8 +1168,7 @@ implementation
if not is_funcret_sym(sym) and
(defowner.typ=procdef) and
assigned(tprocdef(defowner)._class) and
(tprocdef(defowner).owner.defowner=tprocdef(defowner)._class) and
not(m_duplicate_names in current_settings.modeswitches) then
(tprocdef(defowner).owner.defowner=tprocdef(defowner)._class) then
result:=tprocdef(defowner)._class.symtable.checkduplicate(hashedid,sym);
end;