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

4 lines
100 B
Kotlin
Vendored

// WITH_RUNTIME
fun test(){
listOf(1,2,3).apply<caret> { forEach{ it + 4 } }.forEach{ it + 5 }
}