f1e66d0654
#KT-26269 Fixed
8 lines
213 B
Kotlin
Vendored
8 lines
213 B
Kotlin
Vendored
// PROBLEM: Replace 'associate' with 'associateWith'
|
|
// FIX: Replace with 'associateWith'
|
|
// WITH_RUNTIME
|
|
fun getValue(i: Int): String = ""
|
|
|
|
fun test() {
|
|
listOf(1).<caret>associate { Pair(it, getValue(it)) }
|
|
} |