Files
kotlin-fork/idea/testData/quickfix/createFromUsage/createFunction/get/afterCreateGetFromUsage13.kt
T
2015-02-04 23:38:16 +03:00

15 lines
416 B
Kotlin

// "Create 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 fun <V> get(s: String, w: ArrayList<V>): String {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}