Files
kotlin-fork/compiler/testData/ir/irText/classes/argumentReorderingInDelegatingConstructorCall.kt.txt
T
2020-11-26 00:14:03 +03:00

55 lines
685 B
Plaintext
Vendored

open class Base {
constructor(x: Int, y: Int) /* primary */ {
TODO("IrDelegatingConstructorCall")
/* InstanceInitializerCall */
}
val x: Int
field = x
get
val y: Int
field = y
get
}
class Test1 : Base {
constructor(xx: Int, yy: Int) /* primary */ {
{ //BLOCK
TODO("IrDelegatingConstructorCall")
}
/* InstanceInitializerCall */
}
}
class Test2 : Base {
constructor(xx: Int, yy: Int) {
{ //BLOCK
TODO("IrDelegatingConstructorCall")
}
/* InstanceInitializerCall */
}
constructor(xxx: Int, yyy: Int, a: Any) {
{ //BLOCK
TODO("IrDelegatingConstructorCall")
}
}
}