Add inspection + intention to replace .let { it.foo() } with .foo() #KT-13551 Fixed

This commit is contained in:
shiraji
2016-09-05 23:59:41 +03:00
committed by Mikhail Glukhikh
parent cdf4309e04
commit e4c873dc6a
32 changed files with 452 additions and 0 deletions
@@ -0,0 +1,9 @@
// WITH_RUNTIME
// IS_APPLICABLE: true
fun foo() {
val foo: String? = null
foo?.let {
it.to("").to("")<caret>
}
}