Files
kotlin-fork/compiler/testData/diagnostics/tests/scopes/invisibleSetter.fir.kt
T

9 lines
109 B
Kotlin
Vendored

class A<T> {
public var x: Int = 0
private set
}
fun main() {
val a = A<Any>()
a.x = 1
}