[dmd-internals] [D-Programming-Language/dmd] 8c5cce: fix Issue 10141 - wrong error message with Tuple!(...

GitHub noreply at github.com
Mon Jul 15 00:19:43 PDT 2013


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dmd
  Commit: 8c5cce3e6ffd63ad3af23caf2e15ea7a3eabeea5
      https://github.com/D-Programming-Language/dmd/commit/8c5cce3e6ffd63ad3af23caf2e15ea7a3eabeea5
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2013-07-13 (Sat, 13 Jul 2013)

  Changed paths:
    M src/declaration.c
    A test/fail_compilation/diag10141.d
    A test/fail_compilation/imports/diag10141a.d
    A test/fail_compilation/imports/diag10141b.d

  Log Message:
  -----------
  fix Issue 10141 - wrong error message with Tuple!(int) : Error: static assert "Cannot put a char[] into a Appender!(string)"

Essentially it's bad code if it branches based on the condition `global.errors != 0`.


  Commit: 390a9340cad6f9c44757cd4782792b08d95a56ba
      https://github.com/D-Programming-Language/dmd/commit/390a9340cad6f9c44757cd4782792b08d95a56ba
  Author: Don Clugston <dclugston at googlemail.com>
  Date:   2013-07-15 (Mon, 15 Jul 2013)

  Changed paths:
    M src/declaration.c
    A test/fail_compilation/diag10141.d
    A test/fail_compilation/imports/diag10141a.d
    A test/fail_compilation/imports/diag10141b.d

  Log Message:
  -----------
  Merge pull request #2346 from 9rnsr/fix10141

Issue 10141 - wrong error message with Tuple!(int) : Error: static assert "Cannot put a char[] into a Appender!(string)"


Compare: https://github.com/D-Programming-Language/dmd/compare/359f62f3155b...390a9340cad6


More information about the dmd-internals mailing list