Thread overview
[Issue 7499] New: [ICE] ('cast.c line 1495) with lambda array
Mar 05, 2012
Kenji Hara
Mar 05, 2012
Walter Bright
February 14, 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@puremagic.com
        ReportedBy: bearophile_hugs@eml.cc


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


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull


--- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> 2012-03-05 06:29:51 PST ---
https://github.com/D-Programming-Language/dmd/pull/789

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



--- Comment #2 from github-bugzilla@puremagic.com 2012-03-05 11:29:24 PST ---
Commit pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/5c2e6af1b60c0c842391339a27c6d334f05c8fe1 fix Issue 7499 - [ICE] ('cast.c line 1495) with lambda array

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


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