[Issue 15030] New: [Reg 2.068.1] ICE with recursive delegate, -unittest, and std.range
    via Digitalmars-d-bugs 
    digitalmars-d-bugs at puremagic.com
       
    Tue Sep  8 14:22:48 PDT 2015
    
    
  
https://issues.dlang.org/show_bug.cgi?id=15030
          Issue ID: 15030
           Summary: [Reg 2.068.1] ICE with recursive delegate, -unittest,
                    and std.range
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Keywords: ice
          Severity: regression
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: code at dawg.eu
cat > modA.d << CODE
import std.range;
CODE
cat > modB.d << CODE
unittest
{
    import std.algorithm;
    import std.range;
    auto dg = (int[] delegate(int[]) self) =>
        (int[] arr) => arr ? self(arr.filter!(a => a).array) : null;
}
CODE
dmd -unittest -c modA.d modB.d
----
dmd: glue.c:1060: void FuncDeclaration_toObjFile(FuncDeclaration*, bool):
Assertion `!v->csym' failed.
----
--
    
    
More information about the Digitalmars-d-bugs
mailing list