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
next sibling 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
prev sibling parent Sean Reque <seanthenewt yahoo.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.
It means the compiler took a shotgun to your class and blew a hole through its v-table. It then failed to so much as notify you before handing it back to you... in pieces.
Feb 21 2008