Files
Pavel Kirpichenkov ce65f3681b Fix tests
Original commit: 83144d59be7fa5967a1cb509af0bbd5fd7f8ad32

GitOrigin-RevId: 4a8f8e4fb961b2dbd8c66dab41ac9ff879ba595f
2020-07-08 21:00:31 +03:00

13 lines
331 B
Plaintext

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
}