mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-06 10:07:41 +07:00
dfa: types with wildcard parameters are not equal
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
class Some {
|
||||
void bar2(@Nullable Iterable<? extends String> dirs) {
|
||||
if (dirs != null) {
|
||||
for (String dir : dirs) {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -296,6 +296,7 @@ public class DataFlowInspectionTest extends LightCodeInsightFixtureTestCase {
|
||||
public void testAnonymousMethodIndependence() { doTest(); }
|
||||
public void testAnonymousFieldIndependence() { doTest(); }
|
||||
public void testNoConfusionWithAnonymousConstantInitializer() { doTest(); }
|
||||
public void testForeachOverWildcards() { doTest(); }
|
||||
|
||||
public void _testNullCheckBeforeInstanceof() { doTest(); }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user