[Issue 9191] New: Unhelpful error message on failing override

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Dec 20 14:33:12 PST 2012


http://d.puremagic.com/issues/show_bug.cgi?id=9191

           Summary: Unhelpful error message on failing override
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: timon.gehr at gmx.ch


--- Comment #0 from timon.gehr at gmx.ch 2012-12-20 14:33:11 PST ---
DMD 2.060:

class C{
    void _foo(){}
}
class D: C{
    override void foo(){}
}

Error: function D.foo does not override any function, did you mean 'D.foo'

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list