4cd7193047
#KT-11018 Fixed
13 lines
308 B
Plaintext
Vendored
13 lines
308 B
Plaintext
Vendored
Resolve target: value-parameter p: kotlin.String? smart-cast to kotlin.String
|
|
----------------------------------------------
|
|
fun foo(p: String?, p1: Any?) {
|
|
if (p1 == null) return
|
|
|
|
fun localError(): Nothing = throw Exception()
|
|
|
|
if (p == null) {
|
|
localError()
|
|
}
|
|
<caret>p.length()
|
|
}
|