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

13 lines
331 B
Plaintext
Vendored

Resolve target: value-parameter p: kotlin.String? smart-cast to kotlin.String
----------------------------------------------
fun foo(p: String?, p1: Any?) {
/* STATEMENT DELETED: if (p1 == null) return */
fun localError(): Nothing = throw Exception()
if (p == null) {
localError()
}
<caret>p.length
}