Files
kotlin-fork/idea/testData/quickfix/createFromUsage/get/afterCreateGetFromUsage1.kt
T

10 lines
310 B
Kotlin

// "Create function 'get' from usage" "true"
class Foo<T> {
fun x (y: Foo<Iterable<T>>) {
val z: Iterable<T> = y[""]
}
fun get(s: String): T {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}