Files
Tagir Valeev c449c341b7 [java-highlighting] test-data adjusted (mostly anchors) after recent updates
Part of IDEA-365344 Create a new Java error highlighter with minimal dependencies (PSI only)

GitOrigin-RevId: 1e1b77009dc78de49c7cc5c44d4704937397bb23
2025-01-29 11:35:30 +00:00

13 lines
391 B
Java

<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){
T t = <error descr="Incompatible types. Found: 'java.lang.Object', required: 'T'">a ? a1 : b1;</error>
}
}