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

5 lines
118 B
Kotlin
Vendored

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