Create from usage: Made CreateGetFromUsage7 test clearer.

This commit is contained in:
Jack Zhou
2013-05-01 22:52:07 -04:00
parent ec15d5fee4
commit ea14607576
2 changed files with 5 additions and 5 deletions
@@ -2,10 +2,10 @@
import java.util.ArrayList
class Foo<T> {
fun <T, V> x (y: Foo<List<T>>, w: ArrayList<V>) {
val z: Iterable<T> = y["", w]
fun <T, V> x (y: Foo<List<T>>, w: ArrayList<V>, v: T) {
val z: Iterable<T> = y["", w, v]
}
fun <V> get(s: String, w: ArrayList<V>): T {
fun <V, T1> get(s: String, w: ArrayList<V>, v: T1): T {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}
@@ -2,7 +2,7 @@
import java.util.ArrayList
class Foo<T> {
fun <T, V> x (y: Foo<List<T>>, w: ArrayList<V>) {
val z: Iterable<T> = y<caret>["", w]
fun <T, V> x (y: Foo<List<T>>, w: ArrayList<V>, v: T) {
val z: Iterable<T> = y<caret>["", w, v]
}
}