[dmd-internals] [D-Programming-Language/dmd] d6d657: Improved diagnostics for failing use of foreach

GitHub via dmd-internals dmd-internals at puremagic.com
Mon Aug 25 10:52:01 PDT 2014


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dmd
  Commit: d6d657cd6b87acb7ebaa3aa36ce2bbf657235898
      https://github.com/D-Programming-Language/dmd/commit/d6d657cd6b87acb7ebaa3aa36ce2bbf657235898
  Author: Per Nordlöw <per.nordlow at gmail.com>
  Date:   2014-08-25 (Mon, 25 Aug 2014)

  Changed paths:
    M src/statement.c
    M test/fail_compilation/fail118.d
    M test/fail_compilation/fail261.d

  Log Message:
  -----------
  Improved diagnostics for failing use of foreach

Alternative warning

Better message

Use comma instead of parenthesis for extra tip


  Commit: 2f1d27c5a9a84d3a28b0115c2d6e82125109552e
      https://github.com/D-Programming-Language/dmd/commit/2f1d27c5a9a84d3a28b0115c2d6e82125109552e
  Author: Hara Kenji <k.hara.pg+dev at gmail.com>
  Date:   2014-08-26 (Tue, 26 Aug 2014)

  Changed paths:
    M src/statement.c
    M test/fail_compilation/fail118.d
    M test/fail_compilation/fail261.d

  Log Message:
  -----------
  Merge pull request #3606 from nordlow/tupleof-tip

Improve failing foreach reporting for struct and class aggregates


Compare: https://github.com/D-Programming-Language/dmd/compare/4d4938c0e997...2f1d27c5a9a8


More information about the dmd-internals mailing list