www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - Compiler assertion in 0.89

This piece of code gives an assertion in dmd 0.89 (win32).
It compiles on dmd 0.86.

<CODE>
struct A(T) { alias .A!(T) AT; }
alias A!(int) Aint;
</CODE>

c:\dmd\bin\dmd.exe test.d
Assertion failure: 'id->dyncast() == DYNCAST_IDENTIFIER' on line 2567 in file 'mtype.c' abnormal program termination /Oskar
May 20 2004