mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 19:29:24 +02:00
+ local symbols can hide class members in delphi mode
git-svn-id: trunk@7675 -
This commit is contained in:
parent
7a99c517c4
commit
01a4737b10
@ -1168,7 +1168,8 @@ implementation
|
||||
if not is_funcret_sym(sym) and
|
||||
(defowner.typ=procdef) and
|
||||
assigned(tprocdef(defowner)._class) and
|
||||
(tprocdef(defowner).owner.defowner=tprocdef(defowner)._class) then
|
||||
(tprocdef(defowner).owner.defowner=tprocdef(defowner)._class) and
|
||||
not(m_duplicate_names in current_settings.modeswitches) then
|
||||
result:=tprocdef(defowner)._class.symtable.checkduplicate(hashedid,sym);
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user