Partial body resolve: added more tests

This commit is contained in:
Valentin Kipyatkov
2014-11-21 12:19:23 +03:00
parent 0dd77a8ed3
commit 058af69078
13 changed files with 181 additions and 3 deletions
@@ -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
}