[Issue 15897] base class method not seen w/ circular import

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue May 3 01:35:29 PDT 2016


--- Comment #10 from Vladimir Panteleev <thecybershadow at gmail.com> ---
The spec says:

"Private means that only members of the enclosing class can access the member,
or members and functions in the same module as the enclosing class."

-- https://dlang.org/spec/attribute.html#protection_attributes

TDPL says:

"In all contexts, private has the same power: it restricts
symbol access to the current module (file)."


More information about the Digitalmars-d-bugs mailing list