digitalmars.D.bugs - [Issue 11953] New: Uninformative error message on override signature mismatch
- d-bugmail puremagic.com (27/27) Jan 19 2014 https://d.puremagic.com/issues/show_bug.cgi?id=11953
https://d.puremagic.com/issues/show_bug.cgi?id=11953 Summary: Uninformative error message on override signature mismatch Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: code klickverbot.at PST --- Probably a duplicate, but I don't have time to look it up right now: --- interface I { void foo(int, int); } class A : I { override void foo(int); } --- --- test.d(2): Error: function test.A.foo does not override any function, did you mean to override 'test.I.foo'? --- The suggestion should either include parameter types or be left off. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 19 2014