Thread overview
[Issue 10895] incorrect std.array.join behavior with array of string-like class using alias this
Sep 03, 2015
Kenji Hara
Sep 03, 2015
Kenji Hara
September 03, 2015
https://issues.dlang.org/show_bug.cgi?id=10895

Kenji Hara <k.hara.pg@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull, wrong-code
            Summary|alias this bug?             |incorrect std.array.join
                   |                            |behavior with array of
                   |                            |string-like class using
                   |                            |alias this

--- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> ---
The bug was in std.array.join. The element of RoR had been consumed incorrectly while constructing the result.

Fortunately the bug has been fixed in: https://github.com/D-Programming-Language/phobos/pull/2746

And does not happen since 2.067.

PR to add unittest into Phobos: https://github.com/D-Programming-Language/phobos/pull/3628

--
September 03, 2015
https://issues.dlang.org/show_bug.cgi?id=10895

Kenji Hara <k.hara.pg@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|dmd                         |phobos

--
September 03, 2015
https://issues.dlang.org/show_bug.cgi?id=10895

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

https://github.com/D-Programming-Language/phobos/commit/8e11f0ebe23d2fab92bf979595729a5b2038055e
fix Issue 10895 - incorrect std.array.join behavior with array of string-like
class using alias this

https://github.com/D-Programming-Language/phobos/commit/13d9dbdabfb6d9e1ce2958a09982473408853b9e Merge pull request #3628 from 9rnsr/fix10895

Issue 10895 - incorrect std.array.join behavior with array of string-like class using alias this

--
October 04, 2015
https://issues.dlang.org/show_bug.cgi?id=10895

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

https://github.com/D-Programming-Language/phobos/commit/8e11f0ebe23d2fab92bf979595729a5b2038055e
fix Issue 10895 - incorrect std.array.join behavior with array of string-like
class using alias this

https://github.com/D-Programming-Language/phobos/commit/13d9dbdabfb6d9e1ce2958a09982473408853b9e Merge pull request #3628 from 9rnsr/fix10895

--