Split ReplaceSingleLineLetInspection to SimpleRedundantLet & ComplexRedundantLet
Relates to #KT-32010
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
||||
// WITH_RUNTIME
|
||||
// PROBLEM: none
|
||||
|
||||
fun baz(foo: String) {
|
||||
foo.let<caret> { it.length + "".indexOfLast { c -> c == it[0] } }
|
||||
}
|
||||
Reference in New Issue
Block a user