On 11/3/10 7:07 AM, zhang wrote:
This code belown can be compiled with DMD 2.050. However, it throws an error message: core.exception.HiddenFuncError: Hidden method called for main.AClassI'm not sure about whether it is a bug. Thanks for any help.
[snip]That hidden functions are signaled during run time and not compile time is a misunderstanding between design and implementation. There should not be a HiddenFunc exception and the compiler should just refuse to compile the program.
Andrei