[IR] update testdata: better support for IrConstructorCall
This commit is contained in:
committed by
teamcityserver
parent
197f5ca885
commit
2a19dc32f2
@@ -14,7 +14,7 @@ data class Test1<T : Any?> {
|
||||
}
|
||||
|
||||
fun copy(x: T = #x): Test1<T> {
|
||||
return TODO("IrConstructorCall")
|
||||
return Test1<T>(x = x)
|
||||
}
|
||||
|
||||
override fun toString(): String {
|
||||
@@ -63,7 +63,7 @@ data class Test2<T : Number> {
|
||||
}
|
||||
|
||||
fun copy(x: T = #x): Test2<T> {
|
||||
return TODO("IrConstructorCall")
|
||||
return Test2<T>(x = x)
|
||||
}
|
||||
|
||||
override fun toString(): String {
|
||||
@@ -109,7 +109,7 @@ data class Test3<T : Any?> {
|
||||
}
|
||||
|
||||
fun copy(x: List<T> = #x): Test3<T> {
|
||||
return TODO("IrConstructorCall")
|
||||
return Test3<T>(x = x)
|
||||
}
|
||||
|
||||
override fun toString(): String {
|
||||
@@ -155,7 +155,7 @@ data class Test4 {
|
||||
}
|
||||
|
||||
fun copy(x: List<String> = #x): Test4 {
|
||||
return TODO("IrConstructorCall")
|
||||
return Test4(x = x)
|
||||
}
|
||||
|
||||
override fun toString(): String {
|
||||
|
||||
Reference in New Issue
Block a user