浏览代码

- 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