KT-14084 related : replaceFirstReceiver now replaces ALL calls to safe calls if necessary
Fixes relevant "replace let" and "if to elvis" cases
This commit is contained in:
+1
-1
@@ -4,6 +4,6 @@
|
||||
fun foo() {
|
||||
val foo: String? = null
|
||||
foo?.let {
|
||||
it.to("").to("")<caret>
|
||||
it.hashCode().hashCode()<caret>
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user