Files
kotlin/compiler/testData/codegen/bytecodeListing/privateDefaultSetter.kt

18 lines
391 B
Kotlin
Vendored

// IGNORE_BACKEND: JVM_IR
open class Test {
var publicProperty: String = ""
private set
protected var protectedProperty: String = ""
private set
internal var internalProperty: String = ""
private set
fun update(i: Int) {
publicProperty = i.toString()
protectedProperty = i.toString()
internalProperty = i.toString()
}
}