improving "cannot create instance of abstract class ..."

Serg Kovrov kovrov at bugmenot.com
Thu Jun 28 15:20:05 PDT 2007


Frank Benoit wrote:
> Would be nice if this message could also give a hint, why this class is
> abstract.
> 
> "cannot create instance of abstract class 'abc'. Method 'func' of
> interface 'MyInterface' is not implemented."

I have run in similar situation today - search for unimplemented method 
in class hierarchy. It happen not often, but always painful and time 
consuming.

It had passed more than a year now. Seems nothing changed. Any chances 
to have such hints anytime soon?

-- serg.



More information about the Digitalmars-d mailing list