[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 Outer<T : Any?> {
constructor(x: T) /* primary */ {
TODO("IrDelegatingConstructorCall")
super/*Any*/()
/* InstanceInitializerCall */
}
@@ -11,7 +11,7 @@ class Outer<T : Any?> {
open inner class Inner {
constructor(y: Int) /* primary */ {
TODO("IrDelegatingConstructorCall")
super/*Any*/()
/* InstanceInitializerCall */
}
@@ -34,7 +34,7 @@ fun Outer<Int>.test(): Inner<Int> {
return { // BLOCK
local class <no name provided> : Inner<Int> {
constructor() /* primary */ {
TODO("IrDelegatingConstructorCall")
<this>.super/*Inner*/(y = 42)
/* InstanceInitializerCall */
}