November 21, 2015
  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dmd
  Commit: 67a21a9ec222e63ad5bab445662de9114878bc90
      https://github.com/D-Programming-Language/dmd/commit/67a21a9ec222e63ad5bab445662de9114878bc90
  Author: k-hara <k.hara.pg@gmail.com>
  Date:   2015-11-21 (Sat, 21 Nov 2015)

  Changed paths:
    M src/expression.d
    M test/runnable/xtest46.d

  Log Message:
  -----------
  fix Issue 15366 - Enum typed as bool behaves as bool even when cast

From a CastExp 'a && b', its `semantic` returns an `AndAndExp` with the 'Enum' type. But if its `semantic` will be called once more, it will repaint its `type` to 'bool'.

Same problem exists in `OrOrExp`.


  Commit: 913ffbe000e99e3a2aa6caaea9994a103503d6ac
      https://github.com/D-Programming-Language/dmd/commit/913ffbe000e99e3a2aa6caaea9994a103503d6ac
  Author: Daniel Murphy <yebblies@gmail.com>
  Date:   2015-11-22 (Sun, 22 Nov 2015)

  Changed paths:
    M src/expression.d
    M test/runnable/xtest46.d

  Log Message:
  -----------
  Merge pull request #5279 from 9rnsr/fix15366

Issue 15366 - Enum typed as bool behaves as bool even when cast


Compare: https://github.com/D-Programming-Language/dmd/compare/42f803b6ba62...913ffbe000e9