Partial body resolve: added more tests
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
Resolve target: value-parameter val 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.size
|
||||
}
|
||||
Reference in New Issue
Block a user