www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Message for not implemented method implementation.

If a class does not implement a method from a implemented interface, the
following message is given:

file(line): class <implementing.classname> interface function
<interfacename.methodname> isn't implemented.

Now imagine to write a visitor. An interface is given with 20+ methods
named "visit", only different in the arguments type.
Now the compiler message does not help much, to answer the question
"which method is missing?".

Please add the argument types also in the message.

file(line): class <implementing.classname> interface function
<interfacename.methodname(<type1>, <type2>, ..)> isn't implemented.
Oct 14 2006