mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-16 15:53:55 +00:00
12 lines
299 B
Plaintext
Vendored
12 lines
299 B
Plaintext
Vendored
Resolve target: value-parameter p: kotlin.Any? smart-cast to kotlin.String
|
|
----------------------------------------------
|
|
fun x(s: String): Collection<String>{}
|
|
|
|
fun foo(p: Any?, p1: Any?) {
|
|
for (e in x(p as String)) {
|
|
/* STATEMENT DELETED: print(p1!!) */
|
|
}
|
|
|
|
<caret>p.length()
|
|
}
|