April 11, 2004 [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;
}
| ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply