On 2/29/12, Andrej Mitrovic <andrej.mitrovich at gmail.com> wrote: > Just noticed it doesn't work ok if there's a nested template > declaration in a struct. It would say "Error: cannot resolve type for > t.temp(T)". Correction: it was the unittest block that was problematic. I've filed it http://d.puremagic.com/issues/show_bug.cgi?id=7613