mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-28 04:37:32 +07:00
captures: don't distinguish captures from normal types but leave capture for the same type wildcard
This commit is contained in:
+1
-1
@@ -4,6 +4,6 @@ class B<T> {
|
||||
return null;
|
||||
}
|
||||
|
||||
void bar(B<?> b){ baz<error descr="'baz(A<? extends T,T>)' in 'B' cannot be applied to '(A<capture<?>,capture<?>>)'">(b.foo())</error>; }
|
||||
void bar(B<?> b){ baz<error descr="'baz(A<? extends T,T>)' in 'B' cannot be applied to '(A<capture<? extends capture<?>>,capture<? extends capture<?>>>)'">(b.foo())</error>; }
|
||||
<T> void baz(A<? extends T,T> a) {}
|
||||
}
|
||||
Reference in New Issue
Block a user