Files
kotlin-fork/compiler/testData/resolvedCalls/enhancedSignatures/list/listReplaceAll.kt
T

7 lines
214 B
Kotlin
Vendored

fun notNullValues(list: MutableList<String>) {
list.<caret>replaceAll { it.length.toString() }
}
fun nullableValues(list: MutableList<String?>) {
list.<caret>replaceAll { it?.run { length.toString() } }
}