Fix for a cyclic generic upper bound for a class type parameter. A pair of tests.

This commit is contained in:
Mikhail Glukhikh
2015-06-15 14:49:35 +03:00
parent df2c7eb9b2
commit 707307b19c
8 changed files with 51 additions and 7 deletions
@@ -10260,6 +10260,18 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
doTest(fileName);
}
@TestMetadata("itselfAsUpperBoundInClass.kt")
public void testItselfAsUpperBoundInClass() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/regressions/itselfAsUpperBoundInClass.kt");
doTest(fileName);
}
@TestMetadata("itselfAsUpperBoundInClassNotNull.kt")
public void testItselfAsUpperBoundInClassNotNull() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/regressions/itselfAsUpperBoundInClassNotNull.kt");
doTest(fileName);
}
@TestMetadata("itselfAsUpperBoundLocal.kt")
public void testItselfAsUpperBoundLocal() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/regressions/itselfAsUpperBoundLocal.kt");