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

21 lines
323 B
Kotlin
Vendored

package stopInNonInlinedLambdaInInlineCallWithoutClosure
fun main(args: Array<String>) {
var prop = 1
inlineFun {
notInlineFun {
//Breakpoint!
foo(12)
}
}
}
inline fun inlineFun(f: () -> Unit) {
f()
}
fun notInlineFun(f: () -> Unit) {
f()
}
fun foo(a: Any) {}