mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-25 14:25:04 +07:00
testdata for IDEA-93713
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
class Bug<A, B extends A> {
|
||||
<X, Y extends X> void f1(Bug<X, Y> b) {}
|
||||
|
||||
void f2(Bug<?, ?> b) {
|
||||
f1(b);
|
||||
}
|
||||
}
|
||||
|
||||
class Bug1<A, B> {
|
||||
<X, Y extends X> void f1(Bug1<X, Y> b) {}
|
||||
|
||||
void f2(Bug1<?, ?> b) {
|
||||
<error descr="Inferred type 'capture<?>' for type parameter 'Y' is not within its bound; should extend 'capture<?>'">f1(b)</error>;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user