Reimplementing interface

Frank Benoit (keinfarbton) benoit at tionex.removethispart.de
Sun Nov 26 03:14:40 PST 2006


Bug http://d.puremagic.com/issues/show_bug.cgi?id=502
points out: a class that reimplements an interface, needs also to
reimplement all methods from the interface.

Currently this means, it is really necessary to do

  int f( int i ){
    return super.f( i );
  }

I think an alias should do the job.

  alias SuperClass.f f;

comments?



More information about the Digitalmars-d mailing list