← Back to index
|
Original Bugzilla link
Bug 7499 – [ICE] ('cast.c line 1495) with lambda array
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2012-02-13T20:48:00Z
Last change time
2012-03-05T12:14:10Z
Keywords
pull, rejects-valid
Assigned to
nobody
Creator
bearophile_hugs
Comments
Comment #0
by bearophile_hugs — 2012-02-13T20:48:27Z
void main() { int function(int)[] a = [x => x]; } DMD 2.058beta3: Assertion failure: 'type && type != Type::tvoid' on line 1495 in file 'cast.c'
Comment #1
by k.hara.pg — 2012-03-05T06:29:51Z
https://github.com/D-Programming-Language/dmd/pull/789
Comment #2
by github-bugzilla — 2012-03-05T11:29:24Z
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