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

9 lines
308 B
Kotlin
Vendored

// "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 <caret>Foo(t, "")
}