mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
new inference: don't push resolved vars in case of failed substitution
This commit is contained in:
+1
-1
@@ -4,6 +4,6 @@ class A<T>{
|
||||
}
|
||||
|
||||
class C<T extends Throwable> extends A<T> {
|
||||
void foo(C<?>.B b){ bar<error descr="'bar(A<java.lang.Throwable>.B)' in 'C' cannot be applied to '(A<capture<?>>.B)'">(b)</error>; }
|
||||
void foo(C<?>.B b){ bar<error descr="'bar(A<T>.B)' in 'C' cannot be applied to '(A<capture<?>>.B)'">(b)</error>; }
|
||||
<T extends Throwable> void bar(A<T>.B b){}
|
||||
}
|
||||
Reference in New Issue
Block a user