Files
kotlin-fork/idea/testData/quickfix/createFromUsage/get/afterCreateGetFromUsage12.kt
T
2013-05-12 23:50:36 -04:00

10 lines
299 B
Kotlin

// "Create method 'get' from usage" "true"
class Foo<T> {
fun get(s: String, w: T): Any {
throw Exception("not implemented") //To change body of created methods use File | Settings | File Templates.
}
}
fun <T> x (y: Foo<List<T>>, w: java.util.ArrayList<T>) {
val z = y["", w]
}