mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +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 {}
|
||||
}
|
||||
+1
@@ -432,4 +432,5 @@ public class GenericsHighlightingTest extends LightDaemonAnalyzerTestCase {
|
||||
public void testGetClassInAnonymous() { doTest6(false); }
|
||||
public void testInheritFromDifferentParameterizations() { doTest6(false); }
|
||||
public void testCheckAccessibilityBeforeSuperFieldReferenceInSuperCall() { doTest6(false); }
|
||||
public void testIDEA128159() { doTest6(false); }
|
||||
}
|
||||
Reference in New Issue
Block a user