D-Programming-Language/dmd — pull request #708 by donc (2012-02-11 07:27:25+00:00)
Title: 7481 Compiler should 'soldier on' after template errors

Apart from improved diagnostics, this is a patch for improved robustness. See the bug report for discussion.
It removes a couple of hacks from the compiler.

http://d.puremagic.com/issues/show_bug.cgi?id=7481

There is a moderately high chance that this patch will lead to a compiler ICE or strange error messages, so it shouldn't be pulled at the end of a release cycle. But bad behaviour can only happen after an error message has already been printed, so the potential harm is not high.