Files
kotlin-fork/idea/testData/quickfix/createFromUsage/createClass/callExpression/callInMemberValDelegateRuntime.kt.after
T

15 lines
423 B
Plaintext
Vendored

import kotlin.properties.ReadOnlyProperty
// "Create class 'Foo'" "true"
// ERROR: Class 'Foo' must be declared abstract or implement abstract member public abstract operator fun getValue(thisRef: A<T>, property: kotlin.reflect.KProperty<*>): B defined in kotlin.properties.ReadOnlyProperty
open class B
class A<T>(val t: T) {
val x: B by Foo(t, "")
}
class Foo<T>(t: T, s: String) : ReadOnlyProperty<A<T>, B> {
}