mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 15:09:39 +07:00
Part of IDEA-365344 Create a new Java error highlighter with minimal dependencies (PSI only) GitOrigin-RevId: 4449ffc2458eeb73fa296453f6963a6eeed28a76
10 lines
323 B
Java
10 lines
323 B
Java
class Bug {
|
|
static A test(A[] as) {
|
|
for (<error descr="Incompatible types. Found: 'Bug.B', required: 'Bug.A'">B b</error> : as) {
|
|
return <error descr="Incompatible types. Found: 'Bug.B', required: 'Bug.A'">b</error>;
|
|
}
|
|
return null;
|
|
}
|
|
static class A {}
|
|
static class B {}
|
|
} |