don't consider calls to methods with the same name as a property to be calls to accessors of that property
#KT-12813 Fixed
This commit is contained in:
Vendored
+16
@@ -0,0 +1,16 @@
|
||||
// PSI_ELEMENT: org.jetbrains.kotlin.psi.KtProperty
|
||||
// OPTIONS: usages
|
||||
class P
|
||||
|
||||
interface C {
|
||||
val <caret>p: P // set caret at "p" and try find usages
|
||||
fun p(param: Any)
|
||||
}
|
||||
|
||||
fun C.usageCorrect() {
|
||||
println(p)
|
||||
}
|
||||
|
||||
fun C.usageIncorrect() {
|
||||
p("ok")
|
||||
}
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
Value read 11 println(p)
|
||||
Reference in New Issue
Block a user