mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-16 15:53:55 +00:00
13 lines
333 B
Plaintext
Vendored
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()
|
|
}
|