[Issue 10930] std.array.replace cannot simple replace an element in array

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Sep 1 12:30:12 PDT 2017


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

--- Comment #6 from Temtaime <temtaime at gmail.com> ---
I don't see a reason why single element cannot be replaced
For example, both this examples works:

[1, 2].split([1]);
[1, 2].split(1);

--


More information about the Digitalmars-d-bugs mailing list