[D-runtime] What is a hidden function?

David Nadlinger code at klickverbot.at
Fri May 11 12:22:26 PDT 2012


On 11 May 2012, at 21:13, Alex Rønne Petersen wrote:
> I just noticed the onHiddenFuncError(Object o) function. However, I
> can't seem to figure out what on earth a hidden function is. Anyone
> know?

It occurs when for an overloaded member method which is only partially 
overridden in a subclass (without the other overloads being made 
available), a »hidden« overload is invoked on an instance of that 
subclass. Should (mostly?) be caught at compile time, though…

David


More information about the D-runtime mailing list