Navigation: Implement proper getOriginalElement() for Kotlin declarations.
Run find usages tests with library for both original and navigation elements. Drop duplicating tests. Simplify test class. TODO: Some usages are not found yet since light methods built from library files do not retain original declarations
This commit is contained in:
Vendored
+12
@@ -0,0 +1,12 @@
|
||||
// PSI_ELEMENT: org.jetbrains.kotlin.psi.JetNamedFunction
|
||||
// OPTIONS: usages
|
||||
// FIND_BY_REF
|
||||
// WITH_FILE_NAME
|
||||
package usages
|
||||
|
||||
import library.*
|
||||
|
||||
fun test() {
|
||||
val f = A.T::bar
|
||||
A.T().<caret>bar(1)
|
||||
}
|
||||
Reference in New Issue
Block a user