Comment #0 by john.loughran.colvin — 2015-10-04T20:34:12Z
void bish0(T)(string arg, string barg){}
void bish1(T)(int argi, string barg){}
template bish(T)
{
alias bish = bish0!T;
alias bish = bish1!T;
}
void main(string[] args)
{
alias b = bish!string;
b("","");
}
/d112/f630.d(17): Error: function expected before (), not bish!string of type void
There is an easy workaround:
template bish(T)
{
alias tmp = bish0!T;
alias tmp = bish1!T;
alias bish = tmp;
}
but it seems to me like it should just work the first way.