Files
kotlin-fork/idea/testData/quickfix/createFromUsage/createFunction/call/afterMemberValDelegateRuntime.kt
T

12 lines
344 B
Kotlin

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