July 18, 2012 [dmd-internals] [D-Programming-Language/dmd] 65f12c: Fix Issue 3731 - Can implicitly cast an immutable ... | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/dmd Commit: 65f12c80d383bd655aec1f53510fd4ae201b3b79 https://github.com/D-Programming-Language/dmd/commit/65f12c80d383bd655aec1f53510fd4ae201b3b79 Author: Daniel Murphy <yebblies@gmail.com> Date: 2012-06-21 (Thu, 21 Jun 2012) Changed paths: M src/mtype.c A test/fail_compilation/fail3731.d Log Message: ----------- 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. Commit: bf982fac38051e34d365d972ff847983cb73848a https://github.com/D-Programming-Language/dmd/commit/bf982fac38051e34d365d972ff847983cb73848a Author: Don Clugston <dclugston@googlemail.com> Date: 2012-07-18 (Wed, 18 Jul 2012) Changed paths: M src/mtype.c A test/fail_compilation/fail3731.d Log Message: ----------- Merge pull request #125 from yebblies/issue3731 Issue 3731 - Can implicitly cast an immutable reference to a derived class Compare: https://github.com/D-Programming-Language/dmd/compare/a92f64861ac1...bf982fac3805 |
Copyright © 1999-2021 by the D Language Foundation