Split ReplaceSingleLineLetInspection to SimpleRedundantLet & ComplexRedundantLet
Relates to #KT-32010
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
||||
// WITH_RUNTIME
|
||||
// PROBLEM: none
|
||||
|
||||
fun foo(list: List<Int>) {
|
||||
list.filter { it.let<caret> { it in IntRange(it - 1, 10) } }
|
||||
}
|
||||
Reference in New Issue
Block a user