mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-16 20:39:13 +02:00
- 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:
parent
11200cfaf6
commit
1dbde8a79d
@ -3456,11 +3456,6 @@ implementation
|
|||||||
(
|
(
|
||||||
not assigned(curstruct) and
|
not assigned(curstruct) and
|
||||||
(symownerdef.owner.iscurrentunit)
|
(symownerdef.owner.iscurrentunit)
|
||||||
) or
|
|
||||||
(
|
|
||||||
{ helpers can access protected symbols }
|
|
||||||
is_objectpascal_helper(contextobjdef) and
|
|
||||||
def_is_related(tobjectdef(contextobjdef).extendeddef,symownerdef)
|
|
||||||
)
|
)
|
||||||
) or
|
) or
|
||||||
{ access from a generic method that belongs to the class
|
{ access from a generic method that belongs to the class
|
||||||
|
Loading…
Reference in New Issue
Block a user