Add quick-fix "Replace with safe call & elvis" #KT-17815 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
c2707bb81b
commit
af53a0ecd5
@@ -0,0 +1,7 @@
|
||||
// "Replace with safe (?.) call" "true"
|
||||
// WITH_RUNTIME
|
||||
var i: Int? = 0
|
||||
|
||||
fun foo(s: String?) {
|
||||
i = s<caret>.length
|
||||
}
|
||||
Reference in New Issue
Block a user