Split ReplaceSingleLineLetInspection to SimpleRedundantLet & ComplexRedundantLet

Relates to #KT-32010
This commit is contained in:
Dmitry Gridin
2019-06-24 18:56:43 +07:00
parent 8e0bbe7d4a
commit b97aaf0f71
183 changed files with 1361 additions and 398 deletions
@@ -0,0 +1,8 @@
// WITH_RUNTIME
// HIGHLIGHT: INFORMATION
fun test(list: List<Int>) {
list.filter { it > 1 }
.filter { it > 2 }
.let<caret> { println(it) }
}