This is the fourth bug reported in bug 3392. struct dog(alias W = 0) { } dog!(S) foo(alias S)() { return dog!(S)(); } dog!() test3307 = foo!(0)(); --- crash.d(5): Error: cannot implicitly convert expression (dog()) of type dog!(S ) to dog!()
Typo: the bug was originally reported in bug 3293.
At least the issue had been fixed from 2.057.