[IR] update testdata: better support for IrConstructorCall

This commit is contained in:
Zalim Bashorov
2020-11-06 01:22:57 +03:00
committed by teamcityserver
parent 197f5ca885
commit 2a19dc32f2
70 changed files with 172 additions and 136 deletions
@@ -17,7 +17,7 @@ data class A {
}
fun copy(runA: @ExtensionFunctionType Function2<A, String, Unit> = #runA): A {
return TODO("IrConstructorCall")
return A(runA = runA)
}
override fun toString(): String {
@@ -62,7 +62,7 @@ data class B {
}
TODO("IrConstructorCall")
<no name provided>()
}) /* primary */ {
TODO("IrDelegatingConstructorCall")
/* InstanceInitializerCall */
@@ -78,7 +78,7 @@ data class B {
}
fun copy(x: Any = #x): B {
return TODO("IrConstructorCall")
return B(x = x)
}
override fun toString(): String {