[Issue 19189] Accessing private member of template allowed

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Aug 25 15:09:46 UTC 2018


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

Basile B. <b2.temp at gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |b2.temp at gmx.com
         Resolution|---                         |INVALID

--- Comment #1 from Basile B. <b2.temp at gmx.com> ---
**Within** a module its private members are accessible from its other members,
this works like this by design. See point 2 here
https://dlang.org/spec/attribute.html#visibility_attributes

--


More information about the Digitalmars-d-bugs mailing list