http://d.puremagic.com/issues/show_bug.cgi?id=8631
Summary: illegal overrides accepted Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: accepts-invalid Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: timon.g...@gmx.ch --- Comment #0 from timon.g...@gmx.ch 2012-09-08 14:38:07 PDT --- DMD 2.060: class OVIC{ int foo()immutable{ return 2; } int foo()const{ return 2; } } class OVIbICSC: OVIC{ override int foo()immutable{ return 2; } override int foo()const shared{ return 2; } override int foo()const{ return 2;} } The first two child methods override the same parent method, but DMD does not detect this. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------