Files
kotlin-fork/backend.native/tests/external/codegen/blackbox/properties/accessToPrivateSetter.kt
T

17 lines
242 B
Kotlin

// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
class D {
var foo = 1
private set
fun foo() {
foo = 2
}
}
fun box(): String {
D().foo()
return "OK"
}