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

2012-03-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3731


d...@dawgfoto.de changed:

   What|Removed |Added

 CC||d...@dawgfoto.de


--- Comment #8 from d...@dawgfoto.de 2012-03-04 05:19:41 PST ---
*** Issue 7636 has been marked as a duplicate of this issue. ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


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

2012-01-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3731


yebblies yebbl...@gmail.com changed:

   What|Removed |Added

 CC||k.hara...@gmail.com


--- Comment #7 from yebblies yebbl...@gmail.com 2012-01-31 13:13:15 EST ---
*** Issue 5080 has been marked as a duplicate of this issue. ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


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

2012-01-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3731



--- Comment #6 from github-bugzi...@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: ---


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

2011-12-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3731


yebblies yebbl...@gmail.com changed:

   What|Removed |Added

 CC||rayerd@gmail.com


--- Comment #5 from yebblies yebbl...@gmail.com 2011-12-13 16:23:28 EST ---
*** Issue 6863 has been marked as a duplicate of this issue. ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


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

2011-09-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3731



--- Comment #4 from Kenji Hara k.hara...@gmail.com 2011-09-16 03:24:37 PDT ---
I think issue 3731 is same as issue 5080, and the yebblies patch is a bit
better than mine.

See also Don and Steven's comments in 5080.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


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

2011-06-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3731


yebblies yebbl...@gmail.com changed:

   What|Removed |Added

   Keywords||accepts-invalid, patch
 CC||yebbl...@gmail.com
Summary|Immutable class may be  |Can implicitly cast an
   |changed when inherits from  |immutable reference to a
   |mutable parent  |derived class


--- Comment #3 from yebblies yebbl...@gmail.com 2011-06-13 22:59:03 PDT ---
https://github.com/D-Programming-Language/dmd/pull/125

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---