The only thing I really miss is:
class Foo {}
struct Bar {
Foo foo = new Foo();
}
void main() {
Bar s = Bar();
assert(s.foo !is null);
}
The only thing I really miss is:
class Foo {}
struct Bar {
Foo foo = new Foo();
}
void main() {
Bar s = Bar();
assert(s.foo !is null);
}