[Issue 7288] New: [ICE toir.c 190] with lambda return + auto

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jan 13 11:59:56 PST 2012


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

           Summary: [ICE toir.c 190] with lambda return + auto
           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-01-13 11:59:54 PST ---
auto foo() {
    int x;
    return () => { return x; };
}
void main() {}


DMD 2.058head:
Internal error: toir.c 190

-- 
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