object A { fun foo() { } } fun bar() { a().foo() } private fun a() = A