Cannot Call Super-Class Overloaded Function If Class has Function Override?

Vijay Nayar madric at
Tue Mar 1 09:10:46 UTC 2022

On Tuesday, 1 March 2022 at 09:06:59 UTC, vit wrote:
> On Tuesday, 1 March 2022 at 08:40:12 UTC, Vijay Nayar wrote:
>> I've randomly encountered a strange error, and I cannot find 
>> any explanation for it in the official documentation of syntax.
>> [...]
> Here is more info (3.): 

Very well spotted, thank you for that!

I'm a bit surprised at this behavior though. Do you happen to 
know why it is considered bad to take into account the overloads 
of a super-class when resolving a call in a derived-class?

More information about the Digitalmars-d-learn mailing list