http://d.puremagic.com/issues/show_bug.cgi?id=2643
------- Comment #4 from to...@famolsen.dk 2009-02-05 12:07 ------- DMD actually does quite a bit of error handling during code generation. I've been hit by this several times in LDC, where it means that quite a lot of the time, you can't be sure the AST you're generating code for is valid. I would love to see this fixed as well, but I can also understand that some errors are a lot simpler to detect at the codegen stage, so it worth the performance tradeoff ? I'm not sure. --