"Remove redundant '.let' call" intention: handle it inside function call
So #KT-20583 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
d4798b699f
commit
096f9fefd1
+7
@@ -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