fun foo() {} class A { inner class B { fun b() { foo() } } }