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

          Issue ID: 15441
           Summary: dmd segfaults using std.experimental.ndslice
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P1
         Component: dmd
          Assignee: nob...@puremagic.com
          Reporter: sfrijt...@gmail.com

Using the 0.8.3 dub version of std.experimental.ndslice, dmd 2.069.1 segfaults
on the following reduced code:

import std.experimental.ndslice;

void main() {
    Slice!(3, double*) force = new double[60].sliced(3, 4, 5);
    // Wrong foreach params. dmd failed with exit code -11.
    foreach(p, e; force)
    {
    }
}

See also ttxfuwiesghpbnlwy...@forum.dlang.org.

--

Reply via email to