d2b8204fdc
(e.g., `nullable.a = b`), and use positioning strategies to locate the dot in the LHS expression. Without it, only the callee reference is reported on, which makes the highlighting of the error and application of quickfixes incorrect in the IDE. Also fixed issue with annotated and/or labeled expressions on LHS of assignment (e.g., `(@Ann label@ i) = 34`).
7 lines
111 B
Kotlin
Vendored
7 lines
111 B
Kotlin
Vendored
// "Replace with safe (?.) call" "true"
|
|
class A(var s: String? = null)
|
|
|
|
fun foo(a: A?) {
|
|
a<caret>.s = ""
|
|
}
|