Files
kotlin-fork/nj2k/testData/multiFile/GetterAndSetterUsages/external/3.kt.expected
T
2019-10-12 12:50:34 +03:00

13 lines
138 B
Plaintext
Vendored

import test.AAA
fun foo1(a: AAA) {
a.x = a.x + 1
}
fun foo2(a: AAA?) {
a?.x = (a?.x ?: 0) + 1
}
fun AAA.foo() {
x = x + 1
}