mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-06-18 14:04:07 +07:00
642c65dd11
GitOrigin-RevId: d5f7dc3b03d68d249ba29532b0e8c0555cae60d6
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 {}
|
|
} |