struct Bar(alias baz)
{
void qux()
{
baz();
}
}
void main()
{
void foo()
{
}
Bar!(foo) bar;
}
Fails with Internal error: toir.c 177. The error is caused by the call in the struct member function to the nested function through the alias template parameter.