Files
kotlin/idea/testData/resolve/partialBodyResolve/LocalNothingFun.dump
Valentin Kipyatkov 4cd7193047 KT-11018 Ctrl + Mouse Hover shows a var as val
#KT-11018 Fixed
2016-02-13 10:20:20 +03:00

13 lines
333 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()
}