http://d.puremagic.com/issues/show_bug.cgi?id=7462
Summary: Error message with _error_ in overridden function
Product: D
Version: D1 & D2
Platform: All
OS/Version: All
Status: NEW
Severity: minor
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Don <[email protected]> 2012-02-08 06:26:48 PST ---
class A
{
void foo(){}
}
class B : A
{
garbage foo() {}
}
----
bug.d(9): Error: undefined identifier garbage
bug.d(9): Error: function bug.B.foo of type _error_() overrides but is not
covariant with bug.A.foo of type void()
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------