Bug 213 – template X is not a member of Y

Status
RESOLVED
Resolution
WORKSFORME
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Windows
Creation time
2006-06-20T10:59:00Z
Last change time
2014-02-15T13:19:27Z
Keywords
rejects-valid
Assigned to
bugzilla
Creator
h3r3tic

Comments

Comment #0 by h3r3tic — 2006-06-20T10:59:17Z
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
Comment #1 by bugzilla — 2008-06-24T20:46:47Z
Works in dmd 1.031 and 2.015