[dmd-internals] [D-Programming-Language/dmd] 82700b: Issue 2006 - Empty array literals with explicit ty...

GitHub noreply at github.com
Thu Jul 19 00:14:01 PDT 2012


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dmd
  Commit: 82700b3d2cf466cd69f57491a759a14e101467ac
      https://github.com/D-Programming-Language/dmd/commit/82700b3d2cf466cd69f57491a759a14e101467ac
  Author: Daniel Murphy <yebblies at gmail.com>
  Date:   2012-07-17 (Tue, 17 Jul 2012)

  Changed paths:
    M src/cast.c
    M test/runnable/xtest46.d

  Log Message:
  -----------
  Issue 2006 - Empty array literals with explicit type implicitly convert to anything

ArrayLiteralExp::implicitConvTo defaults to MATCHexact, and when there are no parameters it is never corrected.


  Commit: 9268d6fb1bedf9d931eadb5adf4067698b0d1e19
      https://github.com/D-Programming-Language/dmd/commit/9268d6fb1bedf9d931eadb5adf4067698b0d1e19
  Author: Don Clugston <dclugston at googlemail.com>
  Date:   2012-07-19 (Thu, 19 Jul 2012)

  Changed paths:
    M src/cast.c
    M test/runnable/xtest46.d

  Log Message:
  -----------
  Merge pull request #691 from yebblies/issue2006

Issue 2006 - Empty array literals with explicit type implicitly convert to any array type


Compare: https://github.com/D-Programming-Language/dmd/compare/52d48df94b43...9268d6fb1bed


More information about the dmd-internals mailing list