8528c23194
TODO: extract nested initializers somehow.
11 lines
224 B
Kotlin
Vendored
11 lines
224 B
Kotlin
Vendored
open class Base
|
|
|
|
class TestImplicitPrimaryConstructor : Base()
|
|
|
|
class TestExplicitPrimaryConstructor() : Base()
|
|
|
|
class TestWithDelegatingConstructor(val x: Int, val y: Int) : Base() {
|
|
constructor(x: Int) : this(x, 0)
|
|
}
|
|
|