Files
kotlin-fork/idea/testData/refactoring/changeSignature/JavaConstructorParameterPropagationAfter.1.kt
T
2015-07-09 20:47:48 +03:00

18 lines
240 B
Kotlin
Vendored

open class C(n: Int) : A(n) {
}
open class D: A {
constructor(n: Int): super(n)
constructor(b: Boolean, n: Int) : super(n)
}
fun test(n: Int) {
A(n)
A(false, n)
B(n)
B(false, n)
C(n)
D(n)
D(false, n)
}