Wrong stepping for if followied by captured variable
#KT-9118 Fixed
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
package ifCapturedVariableKt9118
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
//Breakpoint!
|
||||
if (1 > 2) {
|
||||
println()
|
||||
}
|
||||
var isCompiledDataFromCache = true
|
||||
foo {
|
||||
isCompiledDataFromCache = false
|
||||
}
|
||||
}
|
||||
|
||||
fun foo(f: () -> Unit) {
|
||||
f()
|
||||
}
|
||||
Reference in New Issue
Block a user