mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-13 09:19:13 +07:00
testdata for IDEA-57492
This commit is contained in:
+17
@@ -0,0 +1,17 @@
|
||||
abstract class A<T>{
|
||||
abstract <S> S foo(S x, S y);
|
||||
<S extends Number & Comparable<? extends Number>> void baz(A<S> a){}
|
||||
|
||||
void bar(A<Long> x, A<Integer> y){
|
||||
baz(foo(x, y));
|
||||
}
|
||||
}
|
||||
|
||||
abstract class A1<T>{
|
||||
abstract <S> S foo(S x, S y);
|
||||
<T extends Number & Comparable<?>, S extends Number & Comparable<? extends T>> void baz(A1<S> a){}
|
||||
|
||||
void bar(A1<Long> x, A1<Integer> y){
|
||||
baz(foo(x, y));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user