D-Programming-Language/dmd — pull request #1387 by AndrejMitrovic (2012-12-19 00:58:23+00:00)
Title: Issue 9179 - Invalid template instantiation error message

**Don't pull this yet, it's just an experiment.**

I'd like to hear from @9rnsr on what would be the best approach to implement this properly. I want to give a better error message when the template cannot be instantiated with IFTI, in other words the template **must** be called with `Templ!(T1, T2)` syntax and never `Templ(T1, T2)` if it's not a function template.