// "Create function 'foo'" "true" import kotlin.properties.ReadWriteProperty class A(val t: T) { var x: A by foo(t, "") private fun foo(t: T, s: String): ReadWriteProperty, A> { throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates. } }