April 07, 2014 [phobos] [D-Programming-Language/phobos] 6123ca: Fix Issue 12434 - std.algorithm.sum of immutable a... | ||||
---|---|---|---|---|
| ||||
Attachments:
| 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@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@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 |
Copyright © 1999-2021 by the D Language Foundation