"Remove redundant let" inspection: do not report for long call chains #KT-26289 Fixed

This commit is contained in:
Toshiaki Kameyama
2018-08-26 07:14:33 +09:00
committed by Mikhail Glukhikh
parent c6db26ba91
commit ae4ff45750
15 changed files with 141 additions and 1 deletions
@@ -0,0 +1,7 @@
// WITH_RUNTIME
fun test(s: String?): Int? {
return s?.let<caret> {
it.length
}
}