D-Programming-Language/dmd — pull request #755 by donc (2012-02-21 19:49:16+00:00)
Title: Regression 7557 - sea of errors after template failure

Fix issue 7557 - Sea of errors after template failure

Remove reliance on global.errors. ScopeExp wasn't running semantic if errors had ever occurred, so the template engine was being fed raw food. It responding by vomiting it all up.