[phobos] [D-Programming-Language/phobos] 0a7108: Fix Issue 10543 - std.algorithm.map incorrectly us...

GitHub noreply at github.com
Sat Jul 6 02:24:44 PDT 2013


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/phobos
  Commit: 0a710876007bf8509d4f62453311e0bb6adbc7ca
      https://github.com/D-Programming-Language/phobos/commit/0a710876007bf8509d4f62453311e0bb6adbc7ca
  Author: monarch dodra <monarchdodra at gmail.com>
  Date:   2013-07-05 (Fri, 05 Jul 2013)

  Changed paths:
    M std/algorithm.d

  Log Message:
  -----------
  Fix Issue 10543 - std.algorithm.map incorrectly uses source range length for narrow strings  

Strange, because there was an explicit override for strings to forward length.

In any case, this is now fixed.


  Commit: 3214c6575e97fba98885c7f42aafc2140c39535b
      https://github.com/D-Programming-Language/phobos/commit/3214c6575e97fba98885c7f42aafc2140c39535b
  Author: monarch dodra <monarchdodra at gmail.com>
  Date:   2013-07-05 (Fri, 05 Jul 2013)

  Changed paths:
    M std/base64.d

  Log Message:
  -----------
  deactivate unsupported test

The test was checking decode works with input range. The truth is that this relied on the input range actually providing length. map *used* to erroneously provide length for narrow strings, but this not the case anymore.

Issue has already been reported as 9543:
http://d.puremagic.com/issues/show_bug.cgi?id=9543


  Commit: 201edf4c8055ca0ac0079b9a8b711b68668c7974
      https://github.com/D-Programming-Language/phobos/commit/201edf4c8055ca0ac0079b9a8b711b68668c7974
  Author: Hara Kenji <k.hara.pg+dev at gmail.com>
  Date:   2013-07-06 (Sat, 06 Jul 2013)

  Changed paths:
    M std/algorithm.d
    M std/base64.d

  Log Message:
  -----------
  Merge pull request #1389 from monarchdodra/mapString

Fix Issue 10543 - std.algorithm.map incorrectly uses source range length...


Compare: https://github.com/D-Programming-Language/phobos/compare/257399827ae4...201edf4c8055


More information about the phobos mailing list