From fail_compilation/fail235.d:
template Tuple(TPL...)
{
alias TPL Tuple;
}
auto K = Tuple!(typeid(char)); // Line 5
template Alias(alias A)
{
alias A Alias;
}
auto A = Alias!(typeid(char)); // Line 11
Prints:
test.d(5): Error: expression & D10TypeInfo_a6__initZ is not a valid template value argument
test.d(11): Error: expression & D10TypeInfo_a6__initZ is not a valid template value argument
I think printing mangled symbol name is not good. Instead it should print:
test.d(5): Error: expression typeid(char) is not a valid template value argument
test.d(11): Error: expression typeid(char) is not a valid template value argument