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; t.run(); // always calls the version of the interface listed first t.A.run(); // Error: no property 'A' for type 'test.C' t.B.run(); // Error: no property 'B' for type 'test.C' }
*** This issue has been marked as a duplicate of issue 4647 ***