[IR] dumpKotlinLike: add testdata for FIR tests
This commit is contained in:
committed by
teamcityserver
parent
d7bd4240e1
commit
c68040753d
+9
@@ -0,0 +1,9 @@
|
||||
fun test(j: J) {
|
||||
j.getFoo() /*~> Unit */
|
||||
j.setFoo(x = 1)
|
||||
val <receiver>: J = j
|
||||
val <unary>: Int = <receiver>.getFoo()
|
||||
<receiver>.setFoo(x = <unary>.inc())
|
||||
<unary> /*~> Unit */
|
||||
j.setFoo(x = j.getFoo().plus(other = 1))
|
||||
}
|
||||
Reference in New Issue
Block a user