Closed sgalles closed 9 years ago
This code
class Foo{ shared new foo{} } shared void run(){ print(Foo.foo); }
executed outputs <null>
<null>
Seems this happens only when the only constructor is a singleton constructor; if you add something like shared new other(){} then Foo.foo works.
shared new other(){}
Foo.foo
This code
executed outputs
<null>