improving "cannot create instance of abstract class ..."
Frank Benoit
keinfarbton at nospam.xyz
Thu May 4 14:18:26 PDT 2006
Tydr Schnubbis schrieb:
> 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."
>
> That last sentence in the error message looks like a pretty good hint to
> me. You need to implement 'func', with the same signature as in
> MyInterface.
Oh, i was not clear. The message in the subject is the one from the
compiler. The one with the hint is my suggestion. So it looks pretty
good for me also :)
More information about the Digitalmars-d
mailing list