Bug 16010 – [ndslice] byElement throw assert error

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2016-05-10T17:40:00Z
Last change time
2016-05-10T20:32:30Z
Assigned to
ilyayaroshenko
Creator
ilyayaroshenko

Comments

Comment #0 by ilyayaroshenko — 2016-05-10T17:40:38Z
unittest { auto s = iotaSlice(3, 4).byElement; foreach(_; 0 .. s.length) s = s[1 .. $]; }
Comment #1 by github-bugzilla — 2016-05-10T20:32:29Z