Create from usage: Made CreateGetFromUsage7 test clearer.
This commit is contained in:
@@ -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]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user