https://issues.dlang.org/show_bug.cgi?id=13214
Issue ID: 13214
Summary: array.opSlice one element falsy empty
Product: D
Version: D2
Hardware: All
OS: Linux
Status: NEW
Severity: critical
Priority: P1
Component: Phobos
Assignee: [email protected]
Reporter: [email protected]
auto a = Array!int(0,1,2,3);
auto r = a[1 .. 1];
assert(!r.empty); // this one should not be empty
a.linearRemove(r);
assert(equal(a[], [0,2,3]));
This basically fails every use of one element ranges of std.array.
this one is blocking my multilogger. I really would like the fixed for 2.066.
I'm working on a patch. hopefully I will have it fixed in the next 8 hours
--