KT-8560 Smart completion for lambda value and more in smart completion

#KT-8560 Fixed
This commit is contained in:
Valentin Kipyatkov
2015-07-21 00:09:48 +03:00
parent f551d64ea2
commit 7b0b2d38c5
15 changed files with 154 additions and 27 deletions
+13
View File
@@ -0,0 +1,13 @@
fun foo(list: List<String>): Collection<Int> {
bar(list.map { it.<caret> })
}
fun bar(p: Collection<Int>) {
}
fun bar(p: Collection<String>, b: Boolean) {
}
// EXIST: length
// EXIST: substring
// ABSENT: isEmpty