Safe Delete: Support secondary constructors

This commit is contained in:
Alexey Sedunov
2015-03-18 18:16:38 +03:00
parent cefd8b43a0
commit b45965b290
8 changed files with 67 additions and 16 deletions
@@ -0,0 +1,23 @@
open class B {
<caret>constructor(a: Int) {
}
constructor(): this(1) {
}
}
open class A: B {
constructor(a: Int): super(a) {
}
}
open class C: B(1) {
}
fun test() {
B(1)
}