www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - what this? Error: hidden method called for ...

reply nobody <no where.com> writes:
Digital Mars D Compiler v2.011 on Linux

My program exit and print out:
Error: hidden method called for ... (a class name)

what does this mean?

Can it also print out the method name that has been "hidden"?

thanks.
Feb 20 2008
parent Robert Fraser <fraserofthenight gmail.com> writes:
nobody wrote:
 Digital Mars D Compiler v2.011 on Linux
 
 My program exit and print out:
 Error: hidden method called for ... (a class name)
 
 what does this mean?
 
 Can it also print out the method name that has been "hidden"?
 
 thanks.

See here: http://www.digitalmars.com/d/2.0/function.html Look under "Overload Sets" slightly less than halfway down the page. For the rationale and a better explanation, see: http://www.digitalmars.com/d/2.0/hijack.html
Feb 21 2008