www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - Assertion Failure: expression.c

I ran across this while searching for a way to use types with switch/case

F:\>dmd error
Assertion failure: '0' on line 2055 in file 'expression.c'

abnormal program termination

Offending code:
void main()
  TFoo!(int).t; // should produce a "no identifier" error.
template TFoo(T) { alias T* t; }
May 02 2004