[Issue 8317] New: [ICE] (cast.c, line 1986) with array of lambdas
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Jun 29 09:58:28 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8317
Summary: [ICE] (cast.c, line 1986) with array of lambdas
Product: D
Version: D2
Platform: x86
OS/Version: Windows
Status: NEW
Keywords: rejects-valid
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: bearophile_hugs at eml.cc
--- Comment #0 from bearophile_hugs at eml.cc 2012-06-29 10:01:00 PDT ---
void main() {
int function()[] foo = [() => 1, () => 'a']; // OK
int function()[] bar;
bar = [() => 1, () => 'a']; // ICE
}
DMD2.60alpha gives:
Assertion failure: 'd->purity != PUREfwdref' on line 1986 in file 'cast.c'
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list