Files
kotlin-fork/idea/testData/inspectionsLocal/simplifyNestedEachInScope/also2.kt
T
2020-09-03 15:29:32 +02:00

6 lines
116 B
Kotlin
Vendored

// PROBLEM: none
// WITH_RUNTIME
fun test(){
val a = listOf(1,2,3)
"".also<caret> { a.forEach { it + 2 } }
}