Files
kotlin-fork/idea/jvm-debugger/jvm-debugger-test/testData/breakpointApplicability/locals.kt
T
Yan Zhulanow 39662c09e9 Debugger: Fix breakpoints and stepping on a first line (KT-33304)
This commit fixes the 'SmartStepIntoTestGenerated#testFunWithExpressionBody' test.
2019-10-24 21:32:59 +09:00

22 lines
430 B
Kotlin
Vendored

fun foo1() { /// M
// We don't support function breakpoints for local functions yet
fun local() { /// L
println() /// L
} /// L
} /// L
fun foo2() { /// M
val local = fun() { /// L
println() /// L
} /// L
} /// L
fun foo3() { /// M
val local = { /// L
println() /// L
} /// L
} /// L
fun foo4() { /// M
fun local(block: () -> Unit = { println() }) {} /// *, L, λ
} /// L