mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
do not rebound captured wildcard (IDEA-57325)
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
interface IA<T> {
|
||||
IA<? extends T> foo();
|
||||
}
|
||||
|
||||
class A {
|
||||
void baz(IA<? extends Throwable> x) {
|
||||
bar(x.foo());
|
||||
}
|
||||
|
||||
<T extends Throwable> void bar(IA<T> a) {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user