How does one correct shadowing (hidden by) errors?

Jesse Phillips jessekphillips+d at gmail.com
Sat Jul 23 08:30:40 PDT 2011


On Sat, 23 Jul 2011 10:51:35 -0400, bearophile wrote:

> Jesse Phillips:
> 
>> It is not fixed there, it is missing a number of changes. This is one
>> of them and I'm confused on since I thought override was supposed to,
>> well override.
> 
> I think we are talking about two different things: overriding and
> overloading.
> 
> Bye,
> bearophile

Ok, I got it. The problem is not overriding ALL the opEquals functions in 
the child class. I.e. you must override all overloaded functions when 
overriding one function.


More information about the Digitalmars-d-learn mailing list