Files
kotlin-fork/idea/testData/quickfix/createFromUsage/createFunction/call/afterMemberValDelegateRuntime.kt
T
2014-10-14 01:59:50 +04:00

12 lines
359 B
Kotlin

// "Create function 'foo' from usage" "true"
import kotlin.properties.ReadOnlyProperty
class A<T>(val t: T) {
val x: A<Int> by foo(t, "")
fun <T> 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.
}
}