https://issues.dlang.org/show_bug.cgi?id=23116
--- Comment #5 from Luís Ferreira <[email protected]> --- Ok, I found the problem. The compiler seem to choose right for function declarations, but there is no logic for template declarations: https://github.com/dlang/dmd/blob/master/src/dmd/opover.d#L1598 --
