assignment: stop bounds promotion inside nested wildcards (IDEA-139161)

This commit is contained in:
Anna Kozlova
2015-12-09 18:49:28 +01:00
parent c66efb2458
commit 92487fe273
5 changed files with 46 additions and 21 deletions
@@ -539,6 +539,10 @@ public class GenericsHighlightingTest extends LightDaemonAnalyzerTestCase {
doTest(LanguageLevel.JDK_1_7, JavaSdkVersion.JDK_1_7, false);
}
public void testStopBoundsPromotionInsideNestedWildcards() throws Exception {
doTest(LanguageLevel.JDK_1_7, JavaSdkVersion.JDK_1_7, false);
}
public void testIDEA130243() throws Exception {
doTest(LanguageLevel.JDK_1_7, JavaSdkVersion.JDK_1_7, false);
}