Files
kotlin-fork/idea/testData/resolve/partialBodyResolve/NestedLoop.kt
T
2014-11-24 20:11:27 +03:00

18 lines
316 B
Kotlin
Vendored

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{}