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