Files
kotlin-fork/idea/testData/findUsages/java/findConstructorUsages/primaryConstructorByJavaSuperRef.1.kt
T
Alexey Sedunov e2d758463f Find Usages: Support primary constructors
#KT-7881 Fixed
2015-06-11 13:52:49 +03:00

14 lines
152 B
Kotlin
Vendored

open class A (n: Int) {
constructor(): this(1)
}
class B: A {
constructor(n: Int): super(n)
}
class C(): A(1)
fun test() {
A()
A(1)
}