Files
kotlin-fork/idea/testData/quickfix/createFromUsage/createClass/callExpression/afterCallInMemberVarDelegateRuntime.kt
T
2014-11-11 14:42:45 +03:00

15 lines
225 B
Kotlin

// "Create class 'Foo'" "true"
// DISABLE-ERRORS
import kotlin.properties.ReadWriteProperty
open class B
class A<T>(val t: T) {
var x: B by Foo(t, "")
}
class Foo<T>(t: T, s: String) : ReadWriteProperty<A<T>, B> {
}