mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
This reverts commit 06104340b157fdf5bba8ec279b46b65c7e6f9efb. GitOrigin-RevId: 7235028d5fa14c916619ee6f1eb00fb8a6461d6f
17 lines
237 B
Kotlin
17 lines
237 B
Kotlin
// PROBLEM: none
|
|
|
|
abstract class A {
|
|
open var attribute = "a"
|
|
protected set
|
|
}
|
|
|
|
class C : A() {
|
|
<caret>public override var attribute = super.attribute
|
|
set
|
|
}
|
|
|
|
fun main() {
|
|
val c = C()
|
|
c.attribute = "test"
|
|
}
|