소스 검색

- remove no longer required check as that is now handled by check_strict_private (not to mention that the check had been placed incorrectly anyway...)

Sven/Sarah Barth 1 년 전
부모
커밋
1dbde8a79d
1개의 변경된 파일0개의 추가작업 그리고 5개의 파일을 삭제
  1. 0 5
      compiler/symtable.pas

+ 0 - 5
compiler/symtable.pas

@@ -3456,11 +3456,6 @@ implementation
                         (
                           not assigned(curstruct) and
                           (symownerdef.owner.iscurrentunit)
-                        ) or
-                        (
-                          { helpers can access protected symbols }
-                          is_objectpascal_helper(contextobjdef) and
-                          def_is_related(tobjectdef(contextobjdef).extendeddef,symownerdef)
                         )
                        ) or
                        { access from a generic method that belongs to the class