KT-9717, KT-9603:

pass getter/setter-related flags to AccessorForPropertyDescriptor
This commit is contained in:
Dmitry Petrov
2015-10-26 13:48:55 +03:00
parent e83315f5bc
commit 882827bf04
14 changed files with 291 additions and 43 deletions
@@ -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"
}