[Issue 14925] replaceInPlace fail compilation

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Aug 19 09:18:59 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=14925

--- Comment #4 from github-bugzilla at puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/3f8b910e2c2834d2f87a543dc39692fe03a69c92
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.

https://github.com/D-Programming-Language/phobos/commit/4d36627f363d9e23aae218578478a0c68da27278
Merge pull request #3561 from schveiguy/fix14925

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

--


More information about the Digitalmars-d-bugs mailing list