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