[TD] Union ir dumps of different test files

This commit is contained in:
Dmitriy Novozhilov
2021-01-20 17:29:53 +03:00
committed by TeamCityServer
parent 4752924b13
commit 77115cea92
32 changed files with 556 additions and 286 deletions
@@ -0,0 +1,16 @@
fun <F : Any?> test(j: J<F>) {
j.getFoo<F>() /*~> Unit */
j.setFoo<F>(x = 1)
{ // BLOCK
val tmp0_receiver: J<F> = j
{ // BLOCK
val tmp1: Int = tmp0_receiver.getFoo<F>()
tmp0_receiver.setFoo<F>(x = tmp1.inc())
tmp1
}
} /*~> Unit */
{ // BLOCK
val tmp2_receiver: J<F> = j
tmp2_receiver.setFoo<F>(x = tmp2_receiver.getFoo<F>().plus(other = 1))
}
}