[Issue 10895] incorrect std.array.join behavior with array of string-like class using alias this
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Thu Sep 3 01:56:56 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=10895
Kenji Hara <k.hara.pg at 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 at 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
--
More information about the Digitalmars-d-bugs
mailing list