[Issue 4504] ICE(toir.c) nested function passed by alias to nested member function
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Jan 26 04:56:11 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=4504
--- Comment #11 from bearophile_hugs at eml.cc 2012-01-26 04:56:11 PST ---
Same bug?
import std.algorithm: map;
void foo() {
map!(x => x)([1]);
}
struct Bar {
int opApply(int delegate(ref int) dg) {
int result;
foo();
result = dg(result);
if (result)
return result;
return result;
}
}
void main() {}
DMD 2.058head:
test.d(6): Error: function test.Bar.opApply cannot get frame pointer to map
--
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