mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 15:53:46 +00:00
16 lines
406 B
Plaintext
Vendored
16 lines
406 B
Plaintext
Vendored
// "Create member function 'Foo.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 {
|
|
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
|
}
|
|
}
|