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

15 lines
366 B
Plaintext
Vendored

Resolve target: value-parameter val p1: kotlin.Any? smart-cast to kotlin.Any
----------------------------------------------
fun foo(p: Any?, p1: Any?, p2: Any?) {
if (x()) {
/* STATEMENT DELETED: print(p!!) */
print(p1!!)
}
else {
print(p1 as String)
/* STATEMENT DELETED: print(p2!!) */
}
<caret>p1.hashCode()
}