25fb77e7ad
This commit adds a number of tests that check breakpoint placing behavior, and an inline action that work the same way as tests.
22 lines
424 B
Kotlin
Vendored
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 |