http://d.puremagic.com/issues/show_bug.cgi?id=3525
Summary: Override keyword & indirect inheritance of many interfaces Product: D Version: 2.036 Platform: x86 OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: tomeks...@gmail.com --- Comment #0 from Tomasz SowiĆski <tomeks...@gmail.com> 2009-11-19 10:07:52 PST --- interface IB1 { int ta(); } interface IB2 { int inna(); } interface IA : IB1, IB2 { } class A : IA { override int ta() { return 5; } override int inna() { return 1; } } It doesn't compile: Error: function hello.A.inna does not override any function The workaround is not to use the override keyword. It may be related to bug 2525. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------