[dmd-internals] [D-Programming-Language/dmd] 123bd0: fix Issue 11730 - associative array with Nullable!...

GitHub noreply at github.com
Sat Dec 14 22:53:10 PST 2013


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dmd
  Commit: 123bd0d8cf14a32eb914761c3c415f37b520c912
      https://github.com/D-Programming-Language/dmd/commit/123bd0d8cf14a32eb914761c3c415f37b520c912
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2013-12-14 (Sat, 14 Dec 2013)

  Changed paths:
    M src/expression.c
    M test/runnable/testaa.d

  Log Message:
  -----------
  fix Issue 11730 - associative array with Nullable!SysTime values: Called `get' on null Nullable!SysTime

When I fixed bug 6178, I internally used `cast(void)exp)` to suppress unexpected "has no side effect" error.

But, `CastExp` always try to resolve alias this of its operand to find most matching type to `void` via `Expression::castTo`. It should be disabled.


  Commit: e6ffe6e50ffda444b4f4ec086f8149c55d74c933
      https://github.com/D-Programming-Language/dmd/commit/e6ffe6e50ffda444b4f4ec086f8149c55d74c933
  Author: Hara Kenji <k.hara.pg+dev at gmail.com>
  Date:   2013-12-14 (Sat, 14 Dec 2013)

  Changed paths:
    M src/expression.c
    M test/runnable/testaa.d

  Log Message:
  -----------
  Merge pull request #2961 from 9rnsr/fix11730

[REG2.064] Issue 11730 - associative array with Nullable!SysTime values: Called `get' on null Nullable!SysTime


Compare: https://github.com/D-Programming-Language/dmd/compare/763a52cf6634...e6ffe6e50ffd


More information about the dmd-internals mailing list