type distinction: remove non-symmetrie for type param bounds (IDEA-150724)

This commit is contained in:
Anna Kozlova
2016-01-27 13:57:06 +03:00
parent 64585129f6
commit ec89fa2295
3 changed files with 15 additions and 8 deletions
@@ -567,6 +567,10 @@ public class GenericsHighlightingTest extends LightDaemonAnalyzerTestCase {
doTest(LanguageLevel.JDK_1_7, JavaSdkVersion.JDK_1_7, false);
}
public void testRecursiveTypesTypeArgumentDistinction() throws Exception {
doTest(LanguageLevel.JDK_1_7, JavaSdkVersion.JDK_1_7, true);
}
public void testLeastUpperBoundWithRecursiveTypes() throws Exception {
final PsiManager manager = getPsiManager();
final GlobalSearchScope scope = GlobalSearchScope.allScope(getProject());