Files
kotlin-fork/compiler/testData/codegen/properties/accessToPrivateSetter.kt
T

14 lines
138 B
Kotlin

class D {
var foo = 1
private set
fun foo() {
foo = 2
}
}
fun box(): String {
D().foo()
return "OK"
}