mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-13 09:19:13 +07:00
substitution: do not open unbounded capture during substitution (IDEA-125423)
(cherry picked from commit 1a8180cabca79b6ab2972a759aaffaa043f60c57)
This commit is contained in:
+1
-1
@@ -13,7 +13,7 @@ class Test {
|
||||
|
||||
class FooBar<T> {
|
||||
void foo(final FooBar<?> fooBar){
|
||||
//fooBar.supertype(Iterable.class);
|
||||
fooBar.supertype<error descr="'supertype(java.lang.Class<? super capture<?>>)' in 'FooBar' cannot be applied to '(java.lang.Class<java.lang.Iterable>)'">(Iterable.class)</error>;
|
||||
}
|
||||
|
||||
void foo1(final FooBar<? super T> fooBar){
|
||||
|
||||
Reference in New Issue
Block a user