[Issue 7500] New: [ICE] (template.c line 5287) with immutable lambda function

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Feb 13 20:49:10 PST 2012


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

           Summary: [ICE] (template.c line 5287) with immutable lambda
                    function
           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:49:10 PST ---
void main() {
    alias immutable bool function(int[]) Foo;
    Foo f = a => true;
}


DMD 2.058beta3:

Assertion failure: 'global.errors' on line 5287 in file 'template.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