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