Files
kotlin/idea/testData/quickfix/createFromUsage/createClass/callExpression/callInMemberValDelegateRuntime.kt.after
2017-05-26 13:58:46 +03:00

15 lines
408 B
Plaintext
Vendored

import kotlin.properties.ReadOnlyProperty
// "Create class 'Foo'" "true"
// ERROR: Class 'Foo' is not abstract and does not implement abstract member public abstract operator fun getValue(thisRef: A<T>, property: 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> {
}