[Issue 3731] Can implicitly cast an immutable reference to a derived class

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jan 27 20:24:15 PST 2012


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



--- Comment #6 from github-bugzilla at puremagic.com 2012-01-27 20:24:11 PST ---
Commits pushed to master at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/7bed81961aefc5327b57be0862514b78d84355db
The fix for issue 3731 shows a couple of places in phobos that rely on this
bug.  std.xml is going away, so work around the issue for now (all problems are
caused by opEquals and opCmp not being const correct) and in std.datetime, AA
values must be rebindable.

https://github.com/D-Programming-Language/phobos/commit/472c2a984391a97fd6fda5b77d082e184b828c87
Merge pull request #408 from yebblies/issue3731

Remove implicit casts to mutable super class

-- 
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