template Foo(T) { } template Bar() { alias Foo!(typeof(this)) foo; } struct S { mixin Bar; } ---- Worked around by taking the type out of template parameter list: template Bar() { alias typeof(this) T; alias Foo!(T) foo; }
Fixed at some point