Files
kotlin-fork/compiler/testData/ir/irText/expressions/javaSyntheticPropertyAccess.fir.kt.txt
T
2020-11-26 00:15:13 +03:00

10 lines
233 B
Plaintext
Vendored

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))
}