mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-25 14:25:04 +07:00
EA-47133 - SOE: GenericsUtil.getLeastUpperClassesInner
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
<error descr="Cyclic inheritance involving 'A'">interface A extends A</error> {}
|
||||
interface B {}
|
||||
|
||||
<error descr="Cyclic inheritance involving 'A'">class T implements A, B</error>{
|
||||
<T1> T1 foo(A a, B b) {
|
||||
return null;
|
||||
}
|
||||
|
||||
void bar (boolean a, A a1, B b1){
|
||||
<error descr="Incompatible types. Found: 'java.lang.Object', required: 'T'">T t = a ? a1 : b1;</error>
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user