Replace deprecated toMap usages with toMapBy

This commit is contained in:
Ilya Gorbunov
2015-11-30 04:00:31 +03:00
parent f107559a3c
commit ea60ab74a7
11 changed files with 13 additions and 13 deletions
@@ -2,4 +2,4 @@ fun foo(list: List<String>) {
list.<caret>
}
// EXIST: { itemText: "firstOrNull", tailText: " {...} (predicate: (String) -> Boolean) for Iterable<T> in kotlin", typeText: "String?" }
// EXIST: { itemText: "toMap", tailText: " {...} (selector: (String) -> K) for Iterable<T> in kotlin", typeText: "Map<K, String>" }
// EXIST: { itemText: "toMapBy", tailText: " {...} (selector: (String) -> K) for Iterable<T> in kotlin", typeText: "Map<K, String>" }