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

12 lines
264 B
Plaintext

Resolve target: value-parameter val p: kotlin.Any smart-cast to kotlin.String
----------------------------------------------
val prop: Nothing
get() = throw Exception()
fun foo(p: Any) {
if (p !is String) {
prop
}
println(<caret>p.size)
}