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: [email protected]
        ReportedBy: [email protected]


--- Comment #0 from David Nadlinger <[email protected]> 2014-01-19 16:15:43 
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: -------

Reply via email to