Files
kotlin-fork/idea/testData/inspectionsLocal/replaceSingleLineLet/longCallChain.kt
T

6 lines
153 B
Kotlin
Vendored

// WITH_RUNTIME
// PROBLEM: none
fun test(list: List<Int>) {
list.filter { it > 1 }.filter { it > 2 }.filter { it > 3 }.let<caret> { println(it) }
}