[Issue 7815] Mixin template forward reference (?) regression
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Apr 11 10:40:09 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7815
--- Comment #15 from Walter Bright <bugzilla at digitalmars.com> 2012-04-11 10:40:51 PDT ---
I reduced the test case a little more:
struct Expression(int op) {
enum lhsClosure = closureOf!();
}
template closureOf() {
static if (is(typeof({
BasicVector x;
x.bar(x);
}))) {}
enum closureOf = 1;
}
struct BasicVector {
void t() {
auto r = Expression!(1)();
}
void bar(T)(T) {
auto x = Expression!(2)();
}
}
--
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