소스 검색

+ local symbols can hide class members in delphi mode

git-svn-id: trunk@7675 -
florian 18 년 전
부모
커밋
01a4737b10
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      compiler/symtable.pas

+ 2 - 1
compiler/symtable.pas

@@ -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;