f1e66d0654
#KT-26269 Fixed
8 lines
199 B
Kotlin
Vendored
8 lines
199 B
Kotlin
Vendored
// PROBLEM: Replace 'associate' with 'associateBy'
|
|
// FIX: Replace with 'associateBy'
|
|
// WITH_RUNTIME
|
|
fun getKey(i: Int): Long = 1L
|
|
|
|
fun test() {
|
|
listOf(1).<caret>associate { getKey(it) to it }
|
|
} |