[Issue 213] New: template X is not a member of Y
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Jun 20 08:59:17 PDT 2006
http://d.puremagic.com/issues/show_bug.cgi?id=213
Summary: template X is not a member of Y
Product: D
Version: 0.161
Platform: PC
OS/Version: Windows
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: bugzilla at digitalmars.com
ReportedBy: h3r3tic at mat.uni.torun.pl
tmp8.d:
-------
template Foo() {
template blah() {
alias x blah;
}
static int x;
}
struct Bar {
mixin Foo mix;
}
void main() {
typeof(Bar.blah!()) a; // error
typeof(Bar.x) b; // ok
}
compile error:
--------------
tmp8.d(13): template blah!() is not a member of Bar
--
More information about the Digitalmars-d-bugs
mailing list