[Issue 16010] New: [ndslice] byElement throw assert error

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue May 10 10:40:38 PDT 2016


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

          Issue ID: 16010
           Summary: [ndslice] byElement throw assert error
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: phobos
          Assignee: nobody at puremagic.com
          Reporter: ilyayaroshenko at gmail.com

unittest
{
    auto s = iotaSlice(3, 4).byElement;
    foreach(_; 0 .. s.length)
        s = s[1 .. $];
}

--


More information about the Digitalmars-d-bugs mailing list