Message for not implemented method implementation.

Frank Benoit keinfarbton at nospam.xyz
Sat Oct 14 06:04:33 PDT 2006


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.




More information about the Digitalmars-d mailing list