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

18 lines
340 B
Kotlin
Vendored

package noParameterLambdaArgumentCallInInline
/*
KT-6477 Breakpoints do not work in inline functions at line where inlined argument without arguments is invoked
*/
fun main(args: Array<String>) {
lookAtMe {
val c = "c"
}
}
inline fun lookAtMe(f: () -> Unit) {
val a = "a"
//Breakpoint!
f()
val b = "b"
}