- 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...)

This commit is contained in:
Sven/Sarah Barth 2024-02-18 16:17:36 +01:00
parent 11200cfaf6
commit 1dbde8a79d

View File

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