mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-18 00:21:35 +00:00
11 lines
315 B
Kotlin
11 lines
315 B
Kotlin
// "Create function 'get' from usage" "true"
|
|
class Foo<T> {
|
|
fun <S> x (y: Foo<Iterable<S>>) {
|
|
val z: Iterable<S> = y[""]
|
|
}
|
|
|
|
fun get(s: String): T {
|
|
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
|
|
}
|
|
}
|