Smart completion works for cases when no exact type known (generic parameter substitution is not known)

This commit is contained in:
Valentin Kipyatkov
2015-07-21 01:20:50 +03:00
parent 7b0b2d38c5
commit a5384cdc28
12 changed files with 93 additions and 49 deletions
+7
View File
@@ -0,0 +1,7 @@
fun foo(list: List<String>, intList: MutableList<Int>, stringList: MutableList<String>): Collection<Int> {
list.mapTo(<caret>)
}
// EXIST: intList
// EXIST: stringList
// EXIST: arrayListOf