[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
@@ -37,7 +37,7 @@ inline fun <A : Any?, B : Any?> foo(a: A, b: B, x: Function2<A, B, Inner<B, A>>)
}
fun box(): String {
val z: Foo<String> = TODO("IrConstructorCall")
val z: Foo<String> = Foo<String>()
val foo: Inner<String, String> = foo<String, String>(a = "O", b = "K", x = ::<init>)
return foo.<get-a>().plus(other = foo.<get-b>())
}