57763e10e0
#KT-6689 Fixed
11 lines
271 B
Kotlin
11 lines
271 B
Kotlin
// "Create property 'foo'" "true"
|
|
// ERROR: Property must be initialized or be abstract
|
|
// ERROR: Variable 'foo' must be initialized
|
|
|
|
import kotlin.properties.ReadWriteProperty
|
|
|
|
class A<T> {
|
|
private val foo: ReadWriteProperty<A<T>, A<Int>>
|
|
var x: A<Int> by foo
|
|
}
|