Files
kotlin-fork/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/lambdaFun1.kt
T
2019-10-08 19:13:55 +09:00

22 lines
285 B
Kotlin
Vendored

package lambdaFun1
fun foo() {
block {
//Breakpoint!
val a = 5
}
}
fun <T> block(block: () -> T): T {
return block()
}
fun main() {
foo()
}
// PRINT_FRAME
// SHOW_KOTLIN_VARIABLES
// EXPRESSION: this
// RESULT: 'this' is not defined in this context