Find Usages: Use isEquivalenTo for PsiCompiledElement only when matching reference targets #KT-7983 Fixed

This commit is contained in:
Alexey Sedunov
2015-06-11 14:52:23 +03:00
parent d1d4736fdd
commit efb36f4a49
4 changed files with 26 additions and 1 deletions
@@ -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()
}
@@ -0,0 +1 @@
New instance creation (10: 5) C()