[Issue 3524] ICE(e2ir.c): using alias parameter after scope closure error
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Jan 11 06:58:56 PST 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3524
Don <clugdbug at yahoo.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |clugdbug at yahoo.com.au
Summary|"Internal error: e2ir.c |ICE(e2ir.c): using alias
|725", after scoped error |parameter after scope
|and processing inrevelant |closure error
|file. |
--- Comment #3 from Don <clugdbug at yahoo.com.au> 2010-01-11 06:58:54 PST ---
Reduced test case shows that this is some form of memory corruption.
------
class A {}
struct F(alias g) {
void e() {
assert(g);
}
}
void bzium(A a) {
scope A b;
F!(b) c;
F!(a) d;
}
----
file2.d(10): Error: variable file2.bzium.b has scoped destruction, cannot build
closure
Internal error: e2ir.c 739
--
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