KT-9717, KT-9603:
pass getter/setter-related flags to AccessorForPropertyDescriptor
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
import kotlin.properties.Delegates
|
||||
|
||||
open class A<T : Any> {
|
||||
protected var value: T by Delegates.notNull()
|
||||
private set
|
||||
}
|
||||
|
||||
class B : A<Int>()
|
||||
|
||||
fun box(): String {
|
||||
B()
|
||||
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user