[phobos] [D-Programming-Language/phobos] 3f8b91: Fix issue 14925 -- merge overloads of replaceInPla...

GitHub via phobos phobos at puremagic.com
Wed Aug 19 09:18:57 PDT 2015


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/phobos
  Commit: 3f8b910e2c2834d2f87a543dc39692fe03a69c92
      https://github.com/D-Programming-Language/phobos/commit/3f8b910e2c2834d2f87a543dc39692fe03a69c92
  Author: Steven Schveighoffer <schveiguy at yahoo.com>
  Date:   2015-08-19 (Wed, 19 Aug 2015)

  Changed paths:
    M std/array.d

  Log Message:
  -----------
  Fix issue 14925 -- merge overloads of replaceInPlace to avoid ambiguity
with template instantiation. Also, preclude narrow strings and other
invalid combinations (e.g. long[] and int[]) from being selected for
optimized path.


  Commit: 4d36627f363d9e23aae218578478a0c68da27278
      https://github.com/D-Programming-Language/phobos/commit/4d36627f363d9e23aae218578478a0c68da27278
  Author: Hara Kenji <k.hara.pg+dev at gmail.com>
  Date:   2015-08-20 (Thu, 20 Aug 2015)

  Changed paths:
    M std/array.d

  Log Message:
  -----------
  Merge pull request #3561 from schveiguy/fix14925

Fix issue 14925 -- narrow strings should not match the first overload of replaceInPlace.


Compare: https://github.com/D-Programming-Language/phobos/compare/13a87e793ed1...4d36627f363d


More information about the phobos mailing list