Files
kotlin-fork/compiler/testData/ir/irText/classes/primaryConstructorWithSuperConstructorCall.kt
T
Dmitry Petrov 8528c23194 Constructors represented "as in Java".
TODO: extract nested initializers somehow.
2016-10-18 09:08:35 +03:00

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)
}