[IR] update testdata: better support for IrConstructorCall
This commit is contained in:
committed by
teamcityserver
parent
197f5ca885
commit
2a19dc32f2
+3
-3
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user