[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,9 @@
fun <F : Any?> test(j: J<F>) {
j.getFoo() /*~> Unit */
j.setFoo(x = 1)
val <receiver>: J<F> = j
val <unary>: Int = <receiver>.getFoo()
<receiver>.setFoo(x = <unary>.inc())
<unary> /*~> Unit */
j.setFoo(x = j.getFoo().plus(other = 1))
}