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

          Issue ID: 17988
           Summary: [ICE] Segfault when using member in map
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: [email protected]
          Reporter: [email protected]

import std.stdio, std.range, std.algorithm;
void main (string [] args) {
    int [][] s; 
    auto q = s.front.front;
    s.map!(c => c.map!(a => text(a[0] / q)));
}

Tested with dmd 2.077.0, ldc 1.5.0 doesn't segfault.

--

Reply via email to