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

12 lines
255 B
Plaintext
Vendored

Resolve target: val x: kotlin.Any? smart-cast to kotlin.Any
----------------------------------------------
fun foo() {
for (i in 1..10) {
val x = take()
if (x == null) break
<caret>x.hashCode()
}
}
fun take(): Any? = null