[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
@@ -2,7 +2,7 @@ fun WithCompanion.test() {
val test1: <no name provided> = { // BLOCK
local class <no name provided> : WithCompanion {
constructor() /* primary */ {
TODO("IrDelegatingConstructorCall")
super/*WithCompanion*/(a = Companion)
/* InstanceInitializerCall */
}
@@ -18,7 +18,7 @@ fun WithCompanion.test() {
val test2: <no name provided> = { // BLOCK
local class <no name provided> : WithCompanion {
constructor() /* primary */ {
TODO("IrDelegatingConstructorCall")
super/*WithCompanion*/(a = Companion.foo())
/* InstanceInitializerCall */
}
@@ -35,14 +35,14 @@ fun WithCompanion.test() {
open class WithCompanion {
constructor(a: Companion) /* primary */ {
TODO("IrDelegatingConstructorCall")
super/*Any*/()
/* InstanceInitializerCall */
}
companion object Companion {
private constructor() /* primary */ {
TODO("IrDelegatingConstructorCall")
super/*Any*/()
/* InstanceInitializerCall */
}