Add quick-fix "Replace with safe call & elvis" #KT-17815 Fixed

This commit is contained in:
Toshiaki Kameyama
2017-06-23 11:53:08 +03:00
committed by Mikhail Glukhikh
parent c2707bb81b
commit af53a0ecd5
24 changed files with 309 additions and 28 deletions
@@ -0,0 +1,7 @@
// "Replace with safe (?.) call" "true"
// WITH_RUNTIME
var i: Int? = 0
fun foo(s: String?) {
i = s<caret>.length
}