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

9 lines
147 B
Kotlin
Vendored

fun foo() {
for (i in 1..10) {
val x = take()
if (x == null) break
<caret>x.hashCode()
}
}
fun take(): Any? = null