www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.ide
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript
electronics



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

↑ ↓ ← 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
↑ ↓ → 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