do not rebound captured wildcard (IDEA-57325)

This commit is contained in:
anna
2013-07-17 20:31:45 +02:00
parent 823e008db1
commit e6ee01a887
4 changed files with 16 additions and 1 deletions
@@ -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) {
}
}