https://d.puremagic.com/issues/show_bug.cgi?id=1747
Andrej Mitrovic <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #5 from Andrej Mitrovic <[email protected]> 2014-02-12 06:22:55 PST --- Simplified test-case: ----- interface IA { void mA(); } interface IB : IA { void mB(); } interface IC : IB { } interface ID : IA, IC { void mD(); } extern(C) int printf(in char* format, ...); class C : ID { void mA() { assert(0, "mA called"); } void mB() { printf("mB called\n"); } void mD() { assert(0, "mD called"); } } void main() { C c = new C; (cast(IC)c).mB(); // ok, mB called (cast(IB)c).mB(); // fail, mA called } ----- -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
