4cd7193047
#KT-11018 Fixed
32 lines
795 B
Plaintext
Vendored
32 lines
795 B
Plaintext
Vendored
Resolve target: value-parameter p: kotlin.String? smart-cast to kotlin.String
|
|
----------------------------------------------
|
|
fun foo(p: String?, x: Boolean, y: Boolean, z: Boolean, t: Boolean) {
|
|
if (p == null) {
|
|
if (x) {
|
|
/* STATEMENT DELETED: print("x") */
|
|
error("error")
|
|
}
|
|
else if (y) {
|
|
/* STATEMENT DELETED: print("y") */
|
|
if (z) {
|
|
/* STATEMENT DELETED: print("z") */
|
|
return
|
|
}
|
|
else {
|
|
throw Exception()
|
|
}
|
|
}
|
|
else {
|
|
if (t) {
|
|
/* STATEMENT DELETED: print("t") */
|
|
return
|
|
}
|
|
else {
|
|
return
|
|
}
|
|
}
|
|
}
|
|
|
|
<caret>p.length
|
|
}
|