Support 'it op something' case in "redundant let" #KT-21373 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
f961f33f9d
commit
5d44037a2b
+6
@@ -0,0 +1,6 @@
|
||||
// WITH_RUNTIME
|
||||
// IS_APPLICABLE: false
|
||||
|
||||
fun foo(list: List<Int>) {
|
||||
list.filter { it.let<caret> { it in IntRange(it - 1, 10) } }
|
||||
}
|
||||
Reference in New Issue
Block a user