http://d.puremagic.com/issues/show_bug.cgi?id=8317

           Summary: [ICE] (cast.c, line 1986) with array of lambdas
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: bearophile_h...@eml.cc


--- Comment #0 from bearophile_h...@eml.cc 2012-06-29 10:01:00 PDT ---
void main() {
    int function()[] foo = [() => 1, () => 'a']; // OK
    int function()[] bar;
    bar = [() => 1, () => 'a']; // ICE
}


DMD2.60alpha gives:

Assertion failure: 'd->purity != PUREfwdref' on line 1986 in file 'cast.c'

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to