Change Signature: Add support of type parameter substitutions in overriding members
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
class X<A> {
|
||||
|
||||
}
|
||||
|
||||
interface Foo<A, B> {
|
||||
X<List<A>> foo(List<X<B>> a, X<Set<A>> b);
|
||||
}
|
||||
|
||||
class SamTest {
|
||||
static <A, B> void test(Foo<A, B> foo) {
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user