[phobos] [D-Programming-Language/phobos] 414ca6: fix Issue 8686 - Tuple cannot define with type tha...

GitHub noreply at github.com
Tue Sep 18 09:44:19 PDT 2012


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/phobos
  Commit: 414ca6ffd211940d55d598e8a751090fb362da4c
      https://github.com/D-Programming-Language/phobos/commit/414ca6ffd211940d55d598e8a751090fb362da4c
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2012-09-18 (Tue, 18 Sep 2012)

  Changed paths:
    M std/typecons.d

  Log Message:
  -----------
  fix Issue 8686 - Tuple cannot define with type that has only mutable opEquals

We cannot show better error message for mismatching tuple lengths, because compiler would *always* try to instantiate const opEquals.

I also added tests for exhaustive opEquals signatures - const or mutable, and template or not


  Commit: 2464637416a46641cbce0471f01a8b9a58581a92
      https://github.com/D-Programming-Language/phobos/commit/2464637416a46641cbce0471f01a8b9a58581a92
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2012-09-18 (Tue, 18 Sep 2012)

  Changed paths:
    M std/typecons.d

  Log Message:
  -----------
  fix opCmp problem which same as opEquals


  Commit: 2dfb76d08dee2c2be58ae95bf3d15a39097c96a3
      https://github.com/D-Programming-Language/phobos/commit/2dfb76d08dee2c2be58ae95bf3d15a39097c96a3
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2012-09-18 (Tue, 18 Sep 2012)

  Changed paths:
    M win32.mak
    M win64.mak

  Log Message:
  -----------
  Separate unittest building in Windows


  Commit: a5a9dc8c6275accadcac32452f4c83d8ea867e35
      https://github.com/D-Programming-Language/phobos/commit/a5a9dc8c6275accadcac32452f4c83d8ea867e35
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2012-09-18 (Tue, 18 Sep 2012)

  Changed paths:
    M std/typecons.d

  Log Message:
  -----------
  _Implicit manifest constant_ is almostly BAD feature to me and generic programming.
..


  Commit: 7f5d95adf106a2a3cc1a8439b20cdafa5a8688f3
      https://github.com/D-Programming-Language/phobos/commit/7f5d95adf106a2a3cc1a8439b20cdafa5a8688f3
  Author: Kato Shoichi <zan77137 at nifty.com>
  Date:   2012-09-18 (Tue, 18 Sep 2012)

  Changed paths:
    M std/typecons.d
    M win32.mak
    M win64.mak

  Log Message:
  -----------
  Merge pull request #803 from 9rnsr/fix8686

Issue 8686 and others, Tuple.opEquals and opCmp does not work in some cases


Compare: https://github.com/D-Programming-Language/phobos/compare/7a04239be81f...7f5d95adf106


More information about the phobos mailing list