[Issue 2417] protected base member is not available via base hanlde in a derived class if it is defined in a separate module
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Oct 17 12:14:42 PDT 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2417
------- Comment #2 from brunodomedeiros+bugz at gmail.com 2008-10-17 14:14 -------
I also thought this behavior was strange. I checked how Java works, and
surprinsigly, it works the same!
(see http://java.sun.com/docs/books/jls/third_edition/html/names.html#62587 for
a description or
http://java.sun.com/docs/books/jls/third_edition/html/names.html#36191 for an
example)
But I still don't know what is the reason for it. Is there one, or did Java
just inherit C++'s mistake?
--
More information about the Digitalmars-d-bugs
mailing list