blob: 00ff2a8bdd6bf911ea939dc78df3a3bb3f65cacd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// PSI_ELEMENT: org.jetbrains.kotlin.psi.KtPrimaryConstructor
// OPTIONS: usages
// FIND_BY_REF
open class A internal constructor(n: Int) {
constructor() : this(1)
}
class B : A {
constructor(n: Int) : super(n)
}
class C() : A(1)
fun test() {
A()
<caret>A(1)
}
// FIR_COMPARISON
|