mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-16 15:53:55 +00:00
11 lines
222 B
Kotlin
Vendored
11 lines
222 B
Kotlin
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<caret>["", w]
|
|
bar(z)
|
|
}
|
|
}
|