[Issue 2969] ICE(cod4.c) using const function parameter inside delegate
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Aug 5 00:15:44 PDT 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2969
Don <clugdbug at yahoo.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|ICE(cod4.c) on const |ICE(cod4.c) using const
|declaration |function parameter inside
| |delegate
--- Comment #3 from Don <clugdbug at yahoo.com.au> 2009-08-05 00:15:43 PDT ---
Even shorter test case:
struct S {
int q;
}
void foo(const(S) x) {
int delegate(int t) bar = (int t){ return 1 + x.q; };
}
--
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