13 lines
252 B
Kotlin
Vendored
13 lines
252 B
Kotlin
Vendored
// KT-11809 Assertion error when delegated property has getter
|
|
|
|
class A {
|
|
val p1 by this
|
|
get
|
|
|
|
var p2 by this
|
|
get() = ""
|
|
|
|
operator fun getValue(a: Any?, p: Any?) = ""
|
|
operator fun setValue(a: Any?, p: Any?, v: Any?) {}
|
|
}
|