class A class B { val foo = 1 fun test(a: A) { this.foo } }