https://issues.dlang.org/show_bug.cgi?id=17055
--- Comment #3 from Ralph Alexander Bariz <ralph.ba...@gmail.com> --- ////////////////////////////////////////////////////////// mixin template Foo() { int x; this() { this.x=5; } } class Bar { mixin Foo; } void main() { import std.stdio; auto a = new Bar(); writeln(a.x); } ////////////////////////////////////////////////////////// is building fine --