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

25 lines
386 B
Kotlin
Vendored

package stopInlineCallInLocalFunInSecondaryConstructor
class Foo(bar: Any) {
constructor() : this(12) {
fun test() {
inlineFun {
//Breakpoint!
nop()
nop()
}
}
test()
}
fun nop() {}
}
fun main(args: Array<String>) {
Foo()
}
inline fun inlineFun(f: () -> Any) {
f()
}