[dmd-internals] [D-Programming-Language/dmd] 65f12c: Fix Issue 3731 - Can implicitly cast an immutable ...

GitHub noreply at github.com
Wed Jul 18 00:08:05 PDT 2012


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


More information about the dmd-internals mailing list