[Issue 926] Revival of implicit conversion from Derived[] to Base[] not noted in changelog
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Jan 29 10:29:27 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=926
Walter Bright <bugzilla at digitalmars.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |WONTFIX
--- Comment #6 from Walter Bright <bugzilla at digitalmars.com> 2012-01-29 10:29:25 PST ---
(In reply to comment #5)
> The D1 spec allows what?
It allows implict conversion of an array of derived classes to an array of base
classes. Thomas quoted the relevant verbage.
> The spec and the changelog to contradict each other?
What matters is what the spec says and what the compiler does now. If someone
wants to go through the compiler/spec diffs from years ago to see when things
changed, that's fine and I'll fold in changelog changes if they present them,
but I've got a lot of current issues to address, and historical spelunking is
off the radar.
> In which DMD version was this misfeature revived, anyway?
I don't know. I agree it is a misfeature, but I am loathe to break existing D1
code at this point, so I believe it should stay as it is.
--
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