Files
kotlin-fork/idea/testData/inspectionsLocal/simpleRedundantLet/inWithRange.kt
T
2019-06-25 14:37:04 +07:00

7 lines
123 B
Kotlin
Vendored

// PROBLEM: none
// WITH_RUNTIME
fun foo(list: List<Int>) {
list.filter { it.let<caret> { it in IntRange(1, 10) } }
}