16 lines
433 B
Plaintext
Vendored
16 lines
433 B
Plaintext
Vendored
// "Create member function 'get'" "true"
|
|
|
|
import java.util.ArrayList
|
|
|
|
class Foo<T> {
|
|
fun bar(arg: String) { }
|
|
fun <T, V> x (y: Foo<List<T>>, w: ArrayList<V>) {
|
|
val z = y["", w]
|
|
bar(z)
|
|
}
|
|
|
|
private operator fun <V> get(s: String, w: ArrayList<V>): String {
|
|
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
|
|
}
|
|
}
|