Files
kotlin-fork/idea/testData/inspectionsLocal/redundantVisibilityModifier/publicOverrideProtectedSetter6.kt.after
T

18 lines
272 B
Plaintext
Vendored

abstract class A {
open var attribute = "a"
protected set
}
abstract class B : A() {
override var attribute = "b"
public set
}
class C : B() {
override var attribute = super.attribute
}
fun main() {
val c = C()
c.attribute = "test"
}