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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Oct 26 15:34:56 UTC 2018


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

--- Comment #5 from alexanderheistermann at gmail.com ---
This isn't about encapsulation, this is about inheritance. Class B should NOT
inherent Class A private members, irregardless of in the same module or not.
Period.
If you want me to write a DIP on deprecating this behavior I would gladly do
so.

--


More information about the Digitalmars-d-bugs mailing list