But a work around would be
class _2 {
_1 instance;
auto twelve() @property {
return instance.i;
}
this() {
instance = new _1(12);
}
}
But a work around would be
class _2 {
_1 instance;
auto twelve() @property {
return instance.i;
}
this() {
instance = new _1(12);
}
}