[IR] update testdata: support for IrDelegatingConstructorCall
This commit is contained in:
committed by
teamcityserver
parent
84d6e43590
commit
b518c19b38
+4
-4
@@ -1,6 +1,6 @@
|
||||
open class Base {
|
||||
constructor(x: Int, y: Int) /* primary */ {
|
||||
TODO("IrDelegatingConstructorCall")
|
||||
super/*Any*/()
|
||||
/* InstanceInitializerCall */
|
||||
|
||||
}
|
||||
@@ -21,7 +21,7 @@ open class Base {
|
||||
class Test1 : Base {
|
||||
constructor(xx: Int, yy: Int) /* primary */ {
|
||||
{ // BLOCK
|
||||
TODO("IrDelegatingConstructorCall")
|
||||
super/*Base*/(x = xx, y = yy)
|
||||
}
|
||||
/* InstanceInitializerCall */
|
||||
|
||||
@@ -35,7 +35,7 @@ class Test1 : Base {
|
||||
class Test2 : Base {
|
||||
constructor(xx: Int, yy: Int) {
|
||||
{ // BLOCK
|
||||
TODO("IrDelegatingConstructorCall")
|
||||
super/*Base*/(x = xx, y = yy)
|
||||
}
|
||||
/* InstanceInitializerCall */
|
||||
|
||||
@@ -43,7 +43,7 @@ class Test2 : Base {
|
||||
|
||||
constructor(xxx: Int, yyy: Int, a: Any) {
|
||||
{ // BLOCK
|
||||
TODO("IrDelegatingConstructorCall")
|
||||
this/*Test2*/(xx = xxx, yy = yyy)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user