mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-12 06:50:39 +01:00
* reverted r7675
git-svn-id: trunk@7702 -
This commit is contained in:
parent
663e020402
commit
72d49f3033
@ -1168,8 +1168,7 @@ implementation
|
|||||||
if not is_funcret_sym(sym) and
|
if not is_funcret_sym(sym) and
|
||||||
(defowner.typ=procdef) and
|
(defowner.typ=procdef) and
|
||||||
assigned(tprocdef(defowner)._class) and
|
assigned(tprocdef(defowner)._class) and
|
||||||
(tprocdef(defowner).owner.defowner=tprocdef(defowner)._class) and
|
(tprocdef(defowner).owner.defowner=tprocdef(defowner)._class) then
|
||||||
not(m_duplicate_names in current_settings.modeswitches) then
|
|
||||||
result:=tprocdef(defowner)._class.symtable.checkduplicate(hashedid,sym);
|
result:=tprocdef(defowner)._class.symtable.checkduplicate(hashedid,sym);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user