http://d.puremagic.com/issues/show_bug.cgi?id=9952
Summary: regression(HEAD): Attribute inference for virtual functions breaks subclasses Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: regression Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: timon.g...@gmx.ch --- Comment #0 from timon.g...@gmx.ch 2013-04-17 23:46:28 PDT --- Compiles with 2.062, error in git head: import std.stdio; class C(T){ T foo(){ return 2; } } class D : C!int{ override int foo(){ writeln(super.foo()); return 3; } // error } void main(){ } This was presumably introduced by the fix for issue 7511. (It had already been pointed out there that virtual functions shouldn't have their attributes inferred.) -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------