Template members may be implicitly referred to if they are the only member of a template, and if they share the template's name:
template foo(int number)
{
immutable int foo = number;
}
void main()
{
writeln(foo!(123)); // Okay.
}
But what if I want to refer to the member explicitly?
writeln(foo!(123).foo); // Error: attempts to access the foo property of int.
I have no good reason for this, but I feel like it must be possible.