class Outer { val foo: String = "foo" inner class Inner { fun test() { foo } } }