Bug 8309 – ICE in typeMerge on 'void main(){auto x = [()=>1.0, ()=>1];}'
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-06-27T05:19:00Z
Last change time
2014-05-02T22:31:34Z
Keywords
ice, pull
Assigned to
nobody
Creator
timon.gehr
Comments
Comment #0 by timon.gehr — 2012-06-27T05:19:34Z
DMD 2.059:
void main(){auto x = [()=>1.0, ()=>1];} // ICE
Comment #1 by ellery-newcomer — 2012-09-21T17:27:34Z
for interested parties, the message is
dmd: cast.c:1991: int typeMerge(Scope*, Expression*, Type**, Expression**, Expression**): Assertion `d->purity != PUREfwdref' failed.
Comment #2 by ellery-newcomer — 2012-09-21T17:28:45Z
*** Issue 8699 has been marked as a duplicate of this issue. ***