Files
kotlin/idea/testData/quickfix/createFromUsage/createFunction/set/afterCreateSetFromUsage2.kt
Valentin Kipyatkov cf04ba4943 Corrected test data
2014-10-31 21:07:51 +03:00

14 lines
375 B
Kotlin

// "Create function 'set' from usage" "true"
import java.util.ArrayList
class Foo<T> {
fun <T> x (y: Any, w: java.util.ArrayList<T>) {
y["", w] = w
}
}
fun <T> Any.set(s: String, w: ArrayList<T>, value: ArrayList<T>) {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
}