Add inspection + intention to replace .let { it.foo() } with .foo() #KT-13551 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
cdf4309e04
commit
e4c873dc6a
+9
@@ -0,0 +1,9 @@
|
||||
// WITH_RUNTIME
|
||||
// IS_APPLICABLE: false
|
||||
|
||||
fun foo() {
|
||||
val foo: String? = null
|
||||
foo?.let {
|
||||
it.to("").to(it).to("")<caret>
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user