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

9 lines
132 B
Kotlin
Vendored

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