May 20, 2004 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
| ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply