f1e66d0654
#KT-26269 Fixed
10 lines
287 B
Plaintext
Vendored
10 lines
287 B
Plaintext
Vendored
// PROBLEM: Replace 'associateTo' with 'associateWithTo'
|
|
// FIX: Replace with 'associateWithTo'
|
|
// WITH_RUNTIME
|
|
fun getValue(i: Int): String = ""
|
|
|
|
fun associateWithTo() {
|
|
val destination = mutableMapOf<Int, String>()
|
|
listOf(1).associateWithTo(destination) { i -> getValue(i) }
|
|
}
|