[Issue 3731] Derived class implicitly convertible to base class with arbitrary change of constancy

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jul 18 00:08:20 PDT 2012


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



--- Comment #15 from github-bugzilla at puremagic.com 2012-07-18 00:08:12 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/65f12c80d383bd655aec1f53510fd4ae201b3b79
Fix Issue 3731 - Can implicitly cast an immutable reference to a derived class
to a mutable reference to a base class.

Ensure the modifier conversion is valid before allowing an implicit conversion
to a base class.

https://github.com/D-Programming-Language/dmd/commit/bf982fac38051e34d365d972ff847983cb73848a
Merge pull request #125 from yebblies/issue3731

Issue 3731 - Can implicitly cast an immutable reference to a derived 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