Implement "Remove redundant '.let' call" binary operator support #KT-14396 Fixed

This commit is contained in:
shiraji
2016-10-28 14:45:56 +09:00
committed by Mikhail Glukhikh
parent ce72337ebd
commit a662d777e8
16 changed files with 208 additions and 12 deletions
@@ -0,0 +1,6 @@
// WITH_RUNTIME
// IS_APPLICABLE: false
fun baz(foo: String) {
foo.let<caret> { it.length + "".indexOfLast { c -> c == it[0] } }
}