return type equivalence: compare supers with current method (IDEA-147335)

This commit is contained in:
Anna Kozlova
2016-01-07 20:14:48 +01:00
parent 3793131697
commit c16e402bed
3 changed files with 19 additions and 4 deletions
@@ -555,6 +555,10 @@ public class GenericsHighlightingTest extends LightDaemonAnalyzerTestCase {
doTest(LanguageLevel.JDK_1_7, JavaSdkVersion.JDK_1_7, false);
}
public void testReturnTypeOverrideEquivalenceWithTypeHierarchy() throws Exception {
doTest(LanguageLevel.JDK_1_7, JavaSdkVersion.JDK_1_7, false);
}
public void testLeastUpperBoundWithRecursiveTypes() throws Exception {
final PsiManager manager = getPsiManager();
final GlobalSearchScope scope = GlobalSearchScope.allScope(getProject());