https://issues.dlang.org/show_bug.cgi?id=15897

--- Comment #10 from Vladimir Panteleev <[email protected]> ---
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)."

--

Reply via email to