Files
kotlin-fork/idea/testData/resolve/partialBodyResolve/IfNotIsNothingProp.dump
T
Pavel Kirpichenkov 83144d59be Fix tests
2020-06-10 10:58:42 +03:00

12 lines
262 B
Plaintext
Vendored

Resolve target: value-parameter 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)
}