[Issue 3038] New: overrides but is not covariant with error
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri May 29 22:46:54 PDT 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3038
Summary: overrides but is not covariant with error
Product: D
Version: 2.030
Platform: PC
OS/Version: Windows
Status: NEW
Keywords: rejects-valid
Severity: normal
Priority: P2
Component: DMD
AssignedTo: bugzilla at digitalmars.com
ReportedBy: tim.matthews7 at gmail.com
Created an attachment (id=386)
--> (http://d.puremagic.com/issues/attachment.cgi?id=386)
test.d
The file test.d attached causes the error:
test.d(14): Error: function test.BO.getThing of type B() overrides but is not
covariant with test.AO.getThing of type A()
--
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