Change Signature: Support refactoring of primary/secondary constructor by delegation call reference
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
open class A {
|
||||
constructor(a: Int) {
|
||||
|
||||
}
|
||||
|
||||
constructor(): <caret>this(1) {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
open class B: A {
|
||||
constructor(a: Int): super(a) {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
fun test() {
|
||||
A(1)
|
||||
}
|
||||
Reference in New Issue
Block a user