Local variable shouldn't be visible in debugger before initialization

This commit is contained in:
Natalia Ukhorskaya
2015-01-13 16:42:09 +03:00
parent 89f8442705
commit f5aefc96fb
8 changed files with 128 additions and 49 deletions
@@ -23,7 +23,6 @@ fun foo(f: () -> Unit) {
// RESULT: Cannot find local variable: name = val1
frame = invoke():7, FrameLambdaNotUsedPackage$@packagePartHASH$main$1 {frameLambdaNotUsed}
this = this = {frameLambdaNotUsed.FrameLambdaNotUsedPackage$@packagePartHASH$main$1@uniqueID}kotlin.Function0<kotlin.Unit>
local = a: int = 0 (sp = frameLambdaNotUsed.kt, 7)
Disconnected from the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket'
Process finished with exit code 0