Case of stack overflow during bad alias resolution
test case
unit temp;
alias e(t) => t-1;
struct Wrapper
{
alias e = /*temp*/.e;
}
function f[T](): auto
{
return T.e(1);
}
function main(): s32
{
alias fe = apply(f, Wrapper);
return fe();
}
notes
only if generic arg of T
is actually used