Files
kotlin-fork/idea/idea-completion/testData/basic/java/ExtensionFromStandardLibrary.kt
T
Ilya Gorbunov 738219d53e Make Map.toSortedMap accept Map out-projected by key type as the receiver.
Update related completion testData.
2016-08-10 21:52:24 +03:00

14 lines
421 B
Kotlin
Vendored

package first
import java.util.HashMap
fun firstFun() {
val a = HashMap<Int, String>()
a.toSort<caret>
}
// INVOCATION_COUNT: 1
// EXIST: { lookupString:"toSortedMap", itemText:"toSortedMap", tailText:"() for Map<out K, V> in kotlin.collections" }
// EXIST: { lookupString:"toSortedMap", itemText:"toSortedMap", tailText:"(comparator: Comparator<in Int>) for Map<out K, V> in kotlin.collections" }
// NOTHING_ELSE