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

24 lines
349 B
Kotlin
Vendored

package lambdaFun3
object Foo {
fun foo() {
block {
//Breakpoint!
val a = this@Foo
}
}
}
fun <T> block(block: () -> T): T {
return block()
}
fun main() {
Foo.foo()
}
// PRINT_FRAME
// SHOW_KOTLIN_VARIABLES
// EXPRESSION: this
// RESULT: instance of lambdaFun3.Foo(id=ID): LlambdaFun3/Foo;