Completion: more intuitive presentation of function items that insert lambda

This commit is contained in:
Valentin Kipyatkov
2015-07-06 22:04:59 +03:00
parent 88dd86d603
commit 1f79955275
6 changed files with 16 additions and 10 deletions
@@ -2,5 +2,5 @@ fun foo(list: List<String>): Collection<Int> {
return list.<caret>
}
// EXIST: { lookupString: "map", tailText: "(transform: (String) -> Int) for Iterable<T> in kotlin", typeText: "List<Int>" }
// EXIST: { lookupString: "map", tailText: " {...} (transform: (String) -> Int) for Iterable<T> in kotlin", typeText: "List<Int>" }
// ABSENT: filter