Browse Source

- 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 year ago
parent
commit
1dbde8a79d
1 changed files with 0 additions and 5 deletions
  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