Files
kotlin-fork/idea/jvm-debugger/jvm-debugger-test/testData/stepping/stepOver/stopInNamelessFunInInlineCall.kt
T
2019-10-08 19:13:55 +09:00

19 lines
277 B
Kotlin
Vendored

package stopInNamelessFunInInlineCall
fun main(args: Array<String>) {
val a = 1
inlineFun(fun (): Unit {
{
//Breakpoint!
foo(a)
foo(a)
}()
})
}
inline fun inlineFun(f: () -> Any) {
f()
}
fun foo(a: Any) {}