Partial body resolve filter: fixed nested loops case
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
Resolve target: val x: kotlin.Any?
|
||||
----------------------------------------------
|
||||
fun foo() {
|
||||
for (i in 1..10) {
|
||||
val x = take()
|
||||
// STATEMENT DELETED: if (x == null) { while (true) { do { println() } while(f()) break } }
|
||||
<caret>x.hashCode()
|
||||
}
|
||||
}
|
||||
|
||||
fun take(): Any? = null
|
||||
fun f(): Boolean{}
|
||||
Reference in New Issue
Block a user