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

--- Comment #19 from Martin Nowak <[email protected]> ---
(In reply to Sophie from comment #18)
> Isn't this what the "protected" access modifier is for?

Yes, protected would be the choice for inheriting a function.

Here the question was whether a private member of a base class, should be
visible for derived classes in the base class' module. Not revealing that
private member, b/c the derived class is in a different module, is a semantic
change introduced by DIP22, hence the deprecation.

--

Reply via email to