"Remove redundant let" inspection: do not report for long call chains #KT-26289 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
c6db26ba91
commit
ae4ff45750
@@ -0,0 +1,6 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
fun test(list: List<Int>) {
|
||||
list.filter { it > 1 }.filter { it > 2 }
|
||||
.let<caret> { println(it) }
|
||||
}
|
||||
Reference in New Issue
Block a user