Drop previously deprecated API.
This commit is contained in:
+1
-1
@@ -2,4 +2,4 @@ fun foo(list: List<String>) {
|
||||
list.<caret>
|
||||
}
|
||||
// EXIST: { itemText: "firstOrNull", tailText: " {...} (predicate: (String) -> Boolean) for Iterable<T> in kotlin.collections", typeText: "String?" }
|
||||
// EXIST: { itemText: "toMapBy", tailText: " {...} (selector: (String) -> K) for Iterable<T> in kotlin.collections", typeText: "Map<K, String>" }
|
||||
// EXIST: { itemText: "associateBy", tailText: " {...} (keySelector: (String) -> K) for Iterable<T> in kotlin.collections", typeText: "Map<K, String>" }
|
||||
|
||||
@@ -4,9 +4,10 @@ import java.util.HashMap
|
||||
|
||||
fun firstFun() {
|
||||
val a = HashMap<Int, String>()
|
||||
a.toLinke<caret>
|
||||
a.toSort<caret>
|
||||
}
|
||||
|
||||
// INVOCATION_COUNT: 1
|
||||
// EXIST: { lookupString:"toLinkedMap", itemText:"toLinkedMap", tailText:"() for Map<K, V> in kotlin.collections" }
|
||||
// EXIST: { lookupString:"toSortedMap", itemText:"toSortedMap", tailText:"() for Map<K, V> in kotlin.collections" }
|
||||
// EXIST: { lookupString:"toSortedMap", itemText:"toSortedMap", tailText:"(comparator: Comparator<in Int>) for Map<K, V> in kotlin.collections" }
|
||||
// NOTHING_ELSE
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
package testing
|
||||
|
||||
fun someFun() {
|
||||
measureTime<caret>
|
||||
measure<caret>
|
||||
}
|
||||
|
||||
// Important: This test checks that completion will find top level functions from jars.
|
||||
// If you going to update it make sure that methods are not auto-imported
|
||||
|
||||
// EXIST: measureTimeNano, measureTimeMillis
|
||||
// EXIST: measureNanoTime, measureTimeMillis
|
||||
Reference in New Issue
Block a user