[Issue 8303] [ICE] (interpret.c, line 100) Maybe caused by a closure
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Nov 13 23:43:46 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8303
Don <clugdbug at yahoo.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WORKSFORME
--- Comment #1 from Don <clugdbug at yahoo.com.au> 2012-11-13 23:43:44 PST ---
Slightly reduced:
---
auto foo8303(in int[] table) {
return (int x) {
return table[0];
};
}
void map8303(X...)(int[] y) {}
void test8303() {
const int[] table = [1];
[1].map8303!(foo8303(table))();
}
----
But the ICE is gone now, on git head:
vug.d(16): Error: closures are not yet supported in CTFE
vug.d(24): called from here: foo8303(table)
Probably a duplicate of a recently fixed bug.
--
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