mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
testdata for IDEA-57272
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
abstract class A<S> {
|
||||
abstract <T extends A<? extends Throwable>> T foo(T y);
|
||||
|
||||
{
|
||||
A<?> a = null;
|
||||
<error descr="Inferred type 'A<capture<?>>' for type parameter 'T' is not within its bound; should extend 'A<? extends java.lang.Throwable>'">foo(a)</error>;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user