12 lines
364 B
Kotlin
12 lines
364 B
Kotlin
// "Create function 'get' from usage" "true"
|
|
import java.util.ArrayList
|
|
|
|
class Foo<S> {
|
|
fun <T> x (y: Foo<List<T>>, w: ArrayList<T>) {
|
|
val z: Iterable<T> = y["", w]
|
|
}
|
|
fun get(s: String, w: S): S {
|
|
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
|
|
}
|
|
}
|