Files
kotlin-fork/nj2k/testData/newJ2k/detectProperties/GetterSetterUsages.kt
T
2019-04-03 11:24:19 +03:00

18 lines
205 B
Kotlin
Vendored

class AAA {
var x = 42
fun foo() {
x = x + 1
}
fun bar(other: AAA) {
other.x = other.x + 1
}
}
internal class B {
fun foo(a: AAA) {
a.x = a.x + 1
}
}