Partial body resolve filter: fixed nested loops case
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
fun foo() {
|
||||
for (i in 1..10) {
|
||||
val x = take()
|
||||
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