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

12 lines
350 B
Plaintext

Resolve target: value-parameter val p: kotlin.Any?
----------------------------------------------
// this test will fail if control flow analysis will start to produce smart-casts after "while(2 * 2 == 4)"
fun x(): Boolean{}
fun foo(p: Any?) {
/* STATEMENT DELETED: while(2 * 2 == 4) { print(p!!) if (x()) break } */
<caret>p.hashCode()
}