http://d.puremagic.com/issues/show_bug.cgi?id=2417


[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[EMAIL PROTECTED]
           Keywords|                            |accepts-invalid
            Summary|protected base member is not|protected base member is not
                   |available via base hanlde in|available via base handle in
                   |a derived class if it is    |a derived class if it is
                   |defined in a separate module|defined in a separate module
            Version|2.019                       |1.036




------- Comment #11 from [EMAIL PROTECTED]  2008-11-24 10:47 -------
http://www.digitalmars.com/d/1.0/attribute.html
http://www.digitalmars.com/d/2.0/attribute.html
"If accessing a protected instance member through a derived class member
function, that member can only be accessed for the object instance which is the
'this' object for the member function call."

So the bug is that m2.foo() passes, rather than that m1.foo() fails.


-- 

Reply via email to