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

14 lines
325 B
Plaintext
Vendored

Resolve target: val x: kotlin.Any?
----------------------------------------------
fun foo() {
for (i in 1..10) {
val x = take()
/* STATEMENT DELETED: if (x == null) { do { if (g()) break } while (f()) } */
<caret>x.hashCode()
}
}
fun take(): Any? = null
fun f(): Boolean{}
fun g(): Boolean{}