www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - dmd crashing on templates

In a rather silly attempt to make a sort of DIY implicit template instantiation
I produced the following code:


















Anyway, the compiler barfs with the following message:

template.c:1195: virtual void TemplateInstance::semantic(Scope*): Assertion
`semanticdone == 0' failed.

Even worse, commenting out the first template definition gives a Segfault
instead.

Nick
Jul 29 2004