What    |Removed                     |Added
                 CC|                            |[EMAIL PROTECTED]
           Keywords|                            |accepts-invalid

------- Comment #3 from [EMAIL PROTECTED]  2008-11-24 08:24 -------
ISTM the bug is actually that the original code compiles without
version=PROBLEM, rather than that it fails with.
"A reimplemented interface must implement all the interface functions, it does
not inherit them from a super class"

C2 reimplements I1, albeit indirectly.  So the code should be

class C2 : C1, I2 {
    void foo() {; }
    void bar() { writefln("bar"); } 
    void bar2() { writefln("bar"); } 

You could argue that indirect reimplementation should be exempt from this
requirement, but that would be an enhancement request.


Reply via email to