Summary: [TDPL] no error on ambiguous public final methods in
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: diagnostic, rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from Trass3r <> 2011-09-15 18:41:35 PDT ---
import std.stdio;
interface A
    final void run() {writeln(0);}
interface B
    final void run() {writeln(1);}
class C : A, B

void main()
    auto t = new C;;   // always calls the version of the interface listed first; // Error: no property 'A' for type 'test.C'; // Error: no property 'B' for type 'test.C'

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to