http://d.puremagic.com/issues/show_bug.cgi?id=2196


g...@nwawudu.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Comment #2 from g...@nwawudu.com  2009-04-23 05:12 -------
(In reply to comment #1)
> I'm not sure if it is a bug, this is a correct behaviour to me.
> If you mark your method as abstract it means that there is no body, 
> child class should provide an implementation.

The following compiles correctly, the original code should not link.

interface A {
    void foo ();
}

abstract class B : A
{
    abstract void foo ();
}

void main() {}


-- 

Reply via email to