[Issue 19334] Derived class inheritance private members in same module

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Oct 26 02:24:03 UTC 2018


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

Mike Parker <aldacron at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |aldacron at gmail.com
         Resolution|---                         |INVALID

--- Comment #2 from Mike Parker <aldacron at gmail.com> ---
This is not a bug and is working as intended:

"Symbols with private visibility can only be accessed from within the same
module."

https://dlang.org/spec/attribute.html#visibility_attributes

--


More information about the Digitalmars-d-bugs mailing list