Files
kotlin-fork/idea/testData/resolve/partialBodyResolve/IfNotIsNothingProp.dump
T

12 lines
268 B
Plaintext
Vendored

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.length())
}