diff --git a/libraries/stdlib/src/kotlin/collections/MapsJVM.kt b/libraries/stdlib/src/kotlin/collections/MapsJVM.kt index 3432ecd03de..5fe02ce10ed 100644 --- a/libraries/stdlib/src/kotlin/collections/MapsJVM.kt +++ b/libraries/stdlib/src/kotlin/collections/MapsJVM.kt @@ -17,7 +17,7 @@ public fun MutableMap.set(key: K, value: V): V? = put(key, value) * * @sample test.collections.MapJVMTest.toSortedMap */ -public fun Map.toSortedMap(): SortedMap = TreeMap(this) +public fun , V> Map.toSortedMap(): SortedMap = TreeMap(this) /** * Converts this [Map] to a [SortedMap] using the given [comparator] so that iteration order will be in the order