[Issue 3792] Regression: "non-constant expression" for a template inside a struct using a struct initializer
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon May 31 06:11:39 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3792
--- Comment #6 from Don <clugdbug at yahoo.com.au> 2010-05-31 06:11:36 PDT ---
Reduced test case for the case that still fails. It's the same, except that the
struct member is explicitly named in the struct initializer.
struct S {
int x;
template T(int val) {
const S T = { x: val };
}
}
const x = S.T!(0);
--
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