Thread overview
[Issue 7500] New: [ICE] (template.c line 5287) with immutable lambda function
Feb 26, 2012
Kenji Hara
Feb 27, 2012
Walter Bright
February 14, 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@puremagic.com
        ReportedBy: bearophile_hugs@eml.cc


--- Comment #0 from bearophile_hugs@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: -------
February 20, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7500



--- Comment #1 from bearophile_hugs@eml.cc 2012-02-20 14:53:25 PST ---
See also issue 7554

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
February 26, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7500


Kenji Hara <k.hara.pg@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice, pull


--- Comment #2 from Kenji Hara <k.hara.pg@gmail.com> 2012-02-26 08:26:15 PST ---
https://github.com/D-Programming-Language/dmd/pull/768

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
February 27, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7500



--- Comment #3 from github-bugzilla@puremagic.com 2012-02-27 11:55:55 PST ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/2c7907c613736338fbde6deb1c38a493154a2d48 fix Issue 7500 - [ICE] (template.c line 5287) with immutable lambda function

https://github.com/D-Programming-Language/dmd/commit/b96f7d5a363eaca65dcc7402321c6f5d019ad048 Merge pull request #768 from 9rnsr/fix7500

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

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
February 27, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7500


Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla@digitalmars.com
         Resolution|                            |FIXED


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