class Foo { class object { val baz = Foo() } } fun test() { Foo.baz }