mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
testdata for IDEA-128159
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
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 {}
|
||||
}
|
||||
Reference in New Issue
Block a user