Split ReplaceSingleLineLetInspection to SimpleRedundantLet & ComplexRedundantLet
Relates to #KT-32010
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
||||
// WITH_RUNTIME
|
||||
// PROBLEM: none
|
||||
|
||||
fun test(k: Int) {
|
||||
(1 to 2).let<caret> { (i, j) -> i + k }
|
||||
}
|
||||
Reference in New Issue
Block a user