Why D const is annoying

Mehrdad wfunction at hotmail.com
Sat Dec 10 20:16:04 PST 2011


Moar bugs/ICEs...

     struct S(int N) { this(T!N) { } }
     alias S!1 M;

annoy.d(1): Error: template instance T!(N) template 'T' is not defined, 
did you mean M?
annoy.d(1): Error: T!(N) is used as a type
ty = 35
Assertion failure: '0' on line 145 in file 'mtype.c


More information about the Digitalmars-d mailing list