Do not use "Remove redundant '.let' call" when receiver is used #KT-14390 Fixed

This commit is contained in:
shiraji
2016-10-28 00:33:16 +09:00
committed by Mikhail Glukhikh
parent 6a1b0b9cbc
commit 0b57d8eb49
7 changed files with 76 additions and 4 deletions
@@ -0,0 +1,6 @@
// WITH_RUNTIME
// IS_APPLICABLE: false
fun baz(foo: String) {
foo.let<caret> { it.substringAfterLast("".equals(it).toString()) }
}