Find Usages: Use isEquivalenTo for PsiCompiledElement only when matching reference targets #KT-7983 Fixed
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
// PSI_ELEMENT: org.jetbrains.kotlin.psi.JetClass
|
||||
// OPTIONS: usages, constructorUsages
|
||||
class <caret>C {
|
||||
init {
|
||||
println("global")
|
||||
}
|
||||
}
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
C()
|
||||
class C {
|
||||
init {
|
||||
println("local")
|
||||
}
|
||||
}
|
||||
C()
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
New instance creation (10: 5) C()
|
||||
Reference in New Issue
Block a user