This invalid code: void foo(T)(int) if (is(T == int)) {} void main() { alias f = foo!string; } Outputs: test.d(2): Error: template instance foo!(string) foo!(string) does not match template declaration foo(T)(int) if (is(T == int)) "foo!(string)" is displayed twice - it's redundant. Should be: test.d(2): Error: template instance foo!(string) does not match template declaration foo(T)(int) if (is(T == int))
https://github.com/D-Programming-Language/dmd/pull/1845
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/3021471e3600a01c8175389dbdde8238bb154332 fix Issue 9880 - Redundant template instance displaying in error message https://github.com/D-Programming-Language/dmd/commit/c43d21983cc646cb24389b35a208e9fbe50ac7c0 Merge pull request #1845 from 9rnsr/fix9880 Issue 9880 - Redundant template instance displaying in error message