Works on v2.052, crashes on :: Windows - DMD32 D Compiler v2.054 Maybe something related to templates? Don't know. But that way at least crashes. // dmd -run demo2.d import std.file; int main(string[] args) { throw(new Exception("")); dirEntries("", SpanMode.shallow); return 0; }
Looks a lot like issue 6308: http://d.puremagic.com/issues/show_bug.cgi?id=6308 Also after commenting out throw it stops crushing, maybe obvious but important.
Fixed in git master. *** This issue has been marked as a duplicate of issue 6308 ***