www.digitalmars.com         C & C++   DMDScript  

D - [BUG] typeof on template alias fails

Uncomment the commented line for an assertion failure:

template foo(int i) { alias int t; }

void main()
{
foo!(0).t var0 = 0;
//  typeof(foo!(0).t) var1 = 0;
}
Apr 10 2004