old inference: include type parameter's bounds in result as intersection if inference from parent type was started (IDEA-153411)

This commit is contained in:
Anna.Kozlova
2016-03-22 19:22:42 +01:00
parent 58299e854f
commit b1a0d687df
5 changed files with 55 additions and 13 deletions
@@ -601,4 +601,8 @@ public class GenericsHighlightingTest extends LightDaemonAnalyzerTestCase {
public void testCaptureConversionWithWildcardBounds() throws Exception {
doTest(LanguageLevel.JDK_1_7, JavaSdkVersion.JDK_1_7, false);
}
public void testIntersectTypeParameterBounds() throws Exception {
doTest(LanguageLevel.JDK_1_7, JavaSdkVersion.JDK_1_7, false);
}
}