Correct read/write access detection in case of plusAssign etc
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
// PSI_ELEMENT: org.jetbrains.kotlin.psi.JetProperty
|
||||
// OPTIONS: usages
|
||||
class C
|
||||
|
||||
fun C.plusAssign(p: Int) = this
|
||||
|
||||
fun foo() {
|
||||
val <caret>c = C()
|
||||
c += 10
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
Value read (9: 5) c += 10
|
||||
Reference in New Issue
Block a user