[phobos] [D-Programming-Language/phobos] 6123ca: Fix Issue 12434 - std.algorithm.sum of immutable a...

GitHub noreply at github.com
Mon Apr 7 07:43:41 PDT 2014


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/phobos
  Commit: 6123ca33713ddd0dfcded8a46bcbef5c3e8e8a50
      https://github.com/D-Programming-Language/phobos/commit/6123ca33713ddd0dfcded8a46bcbef5c3e8e8a50
  Author: monarchdodra <monarchdodra at gmail.com>
  Date:   2014-04-07 (Mon, 07 Apr 2014)

  Changed paths:
    M std/algorithm.d

  Log Message:
  -----------
  Fix Issue 12434 - std.algorithm.sum of immutable array too

https://d.puremagic.com/issues/show_bug.cgi?id=12434

Simply uses the inference's `Unqual` type as a seed, rather than the straight up result.

Also add some unittesting while at it.


  Commit: a3269b7591c21f0617ab687051a684766304c479
      https://github.com/D-Programming-Language/phobos/commit/a3269b7591c21f0617ab687051a684766304c479
  Author: Andrej Mitrovic <andrej.mitrovich at gmail.com>
  Date:   2014-04-07 (Mon, 07 Apr 2014)

  Changed paths:
    M std/algorithm.d

  Log Message:
  -----------
  Merge pull request #2071 from monarchdodra/12434

Fix Issue 12434 - std.algorithm.sum of immutable array too


Compare: https://github.com/D-Programming-Language/phobos/compare/abcf061a93d6...a3269b7591c2


More information about the phobos mailing list