[IR] update testdata: support for IrDelegatingConstructorCall

This commit is contained in:
Zalim Bashorov
2020-11-06 02:24:57 +03:00
committed by teamcityserver
parent 84d6e43590
commit b518c19b38
198 changed files with 393 additions and 390 deletions
@@ -1,6 +1,6 @@
class Test1<T1 : Any?, T2 : Any?> {
constructor(x: T1, y: T2) /* primary */ {
TODO("IrDelegatingConstructorCall")
super/*Any*/()
/* InstanceInitializerCall */
}
@@ -20,7 +20,7 @@ class Test1<T1 : Any?, T2 : Any?> {
class Test2 {
constructor(x: Int, y: String) /* primary */ {
TODO("IrDelegatingConstructorCall")
super/*Any*/()
/* InstanceInitializerCall */
}
@@ -31,7 +31,7 @@ class Test2 {
inner class TestInner<Z : Any?> {
constructor(z: Z) /* primary */ {
TODO("IrDelegatingConstructorCall")
super/*Any*/()
/* InstanceInitializerCall */
}
@@ -41,7 +41,7 @@ class Test2 {
get
constructor(z: Z, i: Int) {
TODO("IrDelegatingConstructorCall")
<this>.this/*TestInner*/<Z>(z = z)
}
@@ -56,7 +56,7 @@ class Test2 {
class Test3 {
constructor(x: Int, y: String = "") /* primary */ {
TODO("IrDelegatingConstructorCall")
super/*Any*/()
/* InstanceInitializerCall */
}
@@ -76,7 +76,7 @@ class Test3 {
class Test4<T : Any?> {
constructor(x: Int) /* primary */ {
TODO("IrDelegatingConstructorCall")
super/*Any*/()
/* InstanceInitializerCall */
}
@@ -86,7 +86,7 @@ class Test4<T : Any?> {
get
constructor(x: Int, y: Int = 42) {
TODO("IrDelegatingConstructorCall")
this/*Test4*/<T>(x = x.plus(other = y))
}