[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 @@
open class Base {
constructor() /* primary */ {
TODO("IrDelegatingConstructorCall")
super/*Any*/()
/* InstanceInitializerCall */
}
@@ -12,7 +12,7 @@ open class Base {
class TestImplicitPrimaryConstructor : Base {
constructor() /* primary */ {
TODO("IrDelegatingConstructorCall")
super/*Base*/()
/* InstanceInitializerCall */
}
@@ -24,7 +24,7 @@ class TestImplicitPrimaryConstructor : Base {
class TestExplicitPrimaryConstructor : Base {
constructor() /* primary */ {
TODO("IrDelegatingConstructorCall")
super/*Base*/()
/* InstanceInitializerCall */
}
@@ -36,7 +36,7 @@ class TestExplicitPrimaryConstructor : Base {
class TestWithDelegatingConstructor : Base {
constructor(x: Int, y: Int) /* primary */ {
TODO("IrDelegatingConstructorCall")
super/*Base*/()
/* InstanceInitializerCall */
}
@@ -50,7 +50,7 @@ class TestWithDelegatingConstructor : Base {
get
constructor(x: Int) {
TODO("IrDelegatingConstructorCall")
this/*TestWithDelegatingConstructor*/(x = x, y = 0)
}