Create from usage: Added tests.

This commit is contained in:
Jack Zhou
2013-04-21 18:31:06 -04:00
parent 60fa732042
commit b7fe134b61
53 changed files with 691 additions and 5 deletions
@@ -0,0 +1,13 @@
// "Create method 'get' from usage" "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)
}
fun <V> get(s: String, w: ArrayList<V>): String {
throw Exception("not implemented") //To change body of created methods use File | Settings | File Templates.
}
}