February 22, 2005
class Foo(T) {}
class Bar : Foo!(Nothing) {}

compiled with -c outputs

>template.d(2): identifier 'Nothing' is not defined
>Assertion failure: 'ta' on line 1455 in file 'template.c'
>
>abnormal program termination

The error message is correct, then it crash.

Lars Ivar Igesund
March 11, 2005
Lars Ivar Igesund wrote:

| class Foo(T) {}
| class Bar : Foo!(Nothing) {}
|
| compiled with -c outputs
|
|  >template.d(2): identifier 'Nothing' is not defined
|  >Assertion failure: 'ta' on line 1455 in file 'template.c'
|  >
|  >abnormal program termination
|
| The error message is correct, then it crash.
|
| Lars Ivar Igesund

Added to DStress as
http://dstress.kuehne.cn/nocompile/bug_template_1455_A.d

Thomas