Files
kotlin-fork/j2k/testData/fileOrElement/detectProperties/GetterSetterUsages.kt
T
2015-09-25 13:02:46 +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
}
}