Supported access to companion object members
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
// PSI_ELEMENT: org.jetbrains.kotlin.psi.KtParameter
|
||||
// OPTIONS: usages
|
||||
|
||||
data class A(val <caret>x: Int, val y: Int) {
|
||||
companion object {
|
||||
fun b(): B = B()
|
||||
}
|
||||
}
|
||||
|
||||
data class B(val x: Int, val y: Int)
|
||||
|
||||
fun foo() {
|
||||
val (x, y) = A.b()
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
Searched inheritors of A
|
||||
Searched references to A
|
||||
Used plain search in LocalSearchScope:
|
||||
CLASS:A
|
||||
+1
@@ -0,0 +1 @@
|
||||
|
||||
Reference in New Issue
Block a user