mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-10 13:17:09 +07:00
test data for not accessible through captured wildcard
This commit is contained in:
+4
@@ -3,4 +3,8 @@ abstract class B {
|
||||
void f(A a) {
|
||||
<error descr="Cannot access java.util.stream.Stream">a</error>.foo();
|
||||
}
|
||||
|
||||
void f(java.util.List<? extends A> a) {
|
||||
<error descr="Cannot access java.util.stream.Stream">a.get(0)</error>.foo();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user