https://issues.dlang.org/show_bug.cgi?id=13441
Issue ID: 13441
Summary: joiner asserts with only(x) separator
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P1
Component: Phobos
Assignee: [email protected]
Reporter: [email protected]
/////////// test.d ///////////
import std.algorithm;
import std.range;
void main()
{
string[][] lines = [null];
lines
.joiner(only("b"))
.array;
}
//////////////////////////////
This trips the "internal error" assertion in joiner.Result.useSeparator.
--