// FILE: 1.kt package test inline fun f(x: () -> String) = x() inline fun g() = f { val x = { T::class.simpleName } x()!! } // FILE: 2.kt import test.* class OK fun box() = g()