コンストラクタのアクセス修飾子バグがついに
http://www.kmonos.net/alang/d/changelog.html#new0106
// t0.d class Foo { static this() { _this = new Foo; } private this() { } public static Foo getInstance() { return _this; } private static Foo _this; } // t1.d private import t0; void main() { Foo foo; foo = new Foo; foo = Foo.getInstance; }
t1.d(5): class t0.Foo member this is not accessible