dfa: types with wildcard parameters are not equal

This commit is contained in:
peter
2013-09-19 19:10:53 +02:00
parent 3d28aa5dd1
commit d6086aed93
3 changed files with 15 additions and 1 deletions
@@ -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(); }
}