www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 18805] New: crash in iteration.d

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

          Issue ID: 18805
           Summary: crash in iteration.d
           Product: D
           Version: D2
          Hardware: x86
                OS: Windows
            Status: NEW
          Severity: major
          Priority: P1
         Component: phobos
          Assignee: nobody puremagic.com
          Reporter: bhjwla gmail.com

The following code causes a crash in iteration.d, line 3175:
    auto a = [1,2,3,4,5];
    writeln(a.fold!((x,y,z) => x-y+z));
I have D version 2.079.0.

--
Apr 27 2018