[Issue 7499] New: [ICE] ('cast.c line 1495) with lambda array

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Feb 13 20:48:29 PST 2012


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

           Summary: [ICE] ('cast.c line 1495) with lambda array
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: bearophile_hugs at eml.cc


--- Comment #0 from bearophile_hugs at eml.cc 2012-02-13 20:48:27 PST ---
void main() {
    int function(int)[] a = [x => x];
}


DMD 2.058beta3:

Assertion failure: 'type && type != Type::tvoid' on line 1495 in file 'cast.c'

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


More information about the Digitalmars-d-bugs mailing list