mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
testdata for IDEA-57313
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
|
||||
class A<T>{
|
||||
class B{}
|
||||
}
|
||||
|
||||
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>; }
|
||||
<T extends Throwable> void bar(A<T>.B b){}
|
||||
}
|
||||
+4
@@ -821,4 +821,8 @@ public class GenericsHighlighting8Test extends LightDaemonAnalyzerTestCase {
|
||||
public void testIDEA67745() throws Exception {
|
||||
doTest();
|
||||
}
|
||||
|
||||
public void testIDEA57313() throws Exception {
|
||||
doTest();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user