digitalmars.D.bugs - template class compiler bug?
- Ant^2i (31/31) Jul 08 2005 I am not quite sure did I post this like message before, anyway I get "a...
I am not quite sure did I post this like message before, anyway I get "abnormal program termination" when I try to compile below code: --------- class Foo(T) { Node sentinel; struct Node { T value; } } void main() { Foo!(int) bar=new Foo!(int); } --------- But below code seem to be compiled fine: --------- class Foo(T) { struct Node { T value; } Node sentinel; } void main() { Foo!(int) bar=new Foo!(int); } ---------
Jul 08 2005