Bug 8699 – [ICE] (cast.c, line 1991) with bad array of functions

Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2012-09-20T05:04:00Z
Last change time
2012-09-21T17:28:45Z
Assigned to
nobody
Creator
bearophile_hugs

Comments

Comment #0 by bearophile_hugs — 2012-09-20T05:04:21Z
import std.algorithm: min; void main() { auto foo = [(int x, int y) => x + y, &min!(int, int, int)]; } DMD 2.061alpha: Assertion failure: 'd->purity != PUREfwdref' on line 1991 in file 'cast.c'
Comment #1 by ellery-newcomer — 2012-09-21T17:28:45Z
*** This issue has been marked as a duplicate of issue 8309 ***