Cleanup RC deprecations in compiler and plugin.
This commit is contained in:
@@ -19,7 +19,7 @@ package org.jetbrains.kotlin.utils
|
||||
import java.util.*
|
||||
|
||||
fun <K, V> Iterable<K>.keysToMap(value: (K) -> V): Map<K, V> {
|
||||
return toMapBy({ it }, value)
|
||||
return associateBy({ it }, value)
|
||||
}
|
||||
|
||||
fun <K, V: Any> Iterable<K>.keysToMapExceptNulls(value: (K) -> V?): Map<K, V> {
|
||||
|
||||
Reference in New Issue
Block a user