What    |Removed                     |Added
                 CC|                            |[EMAIL PROTECTED]
           Keywords|                            |spec

------- Comment #12 from [EMAIL PROTECTED]  2008-11-24 10:58 -------
In that case, I think the spec should be changed to reflect the current
behavior.  I think Walter wanted it to model after the way C++ works, and it
just wasn't explained well enough.

Without the current behavior (i.e. allowing to be callable), functions
like clone would be difficult to implement.

I think the spec should be changed to say:
"If accessing a protected instance member through a derived class member
function, that member can only be accessed for an object instance which can be
implicitly cast to the same type as 'this'."


Reply via email to