ca8e2d4956
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
18 lines
290 B
Kotlin
Vendored
18 lines
290 B
Kotlin
Vendored
// PSI_ELEMENT: org.jetbrains.kotlin.psi.JetClass
|
|
// OPTIONS: usages, constructorUsages
|
|
// FIND_BY_REF
|
|
// WITH_FILE_NAME
|
|
package usages
|
|
|
|
import library.*
|
|
|
|
class X: A.T {
|
|
constructor(n: Int): super(n)
|
|
}
|
|
|
|
class Y(): A.T(1)
|
|
|
|
fun test() {
|
|
val a: A.<caret>T = A.T()
|
|
val aa = A.T(1)
|
|
} |