Files
kotlin-fork/idea/testData/debugger/breakpointApplicability/locals.kt
T
Yan Zhulanow 25fb77e7ad Debugger: Add breakpoint applicability tests
This commit adds a number of tests that check breakpoint placing behavior, and an inline action that work the same way as tests.
2019-08-07 01:15:28 +09:00

22 lines
424 B
Kotlin
Vendored

fun foo1() {
// 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