mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 00:21:32 +00:00
12 lines
227 B
Kotlin
Vendored
12 lines
227 B
Kotlin
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<caret>["", w]
|
|
bar(z)
|
|
}
|
|
}
|