Benjamin Thaut:
I created a bug ticket for this 6 months ago, but it has been ignored so far: http://d.puremagic.com/issues/show_bug.cgi?id=7271
A similar bug was fixed very recently. D used to allocate a dynamic array of length 1 when you write "new T" where T is a struct. I don't know if that bug fix (in dmd 2.060alpha) has fixed your problem too. Such kind of bugs do get fixed, eventually :-)
Bye, bearophile
