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