mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-10 01:09:46 +07:00
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) {
|
|
<error descr="Incompatible types. Found: 'Bug.B', required: 'Bug.A'">return b;</error>
|
|
}
|
|
return null;
|
|
}
|
|
static class A {}
|
|
static class B {}
|
|
} |