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