Prevent recursion on captured recursive type parameters of inner classes during computing bound for them

^KT-47459 Fixed
This commit is contained in:
Victor Petukhov
2021-06-28 16:15:02 +03:00
committed by TeamCityServer
parent e071281b20
commit ad89d43186
8 changed files with 90 additions and 2 deletions
@@ -21436,6 +21436,18 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
runTest("compiler/testData/diagnostics/tests/platformTypes/rawTypes/interClassesRecursion.kt");
}
@Test
@TestMetadata("intermediateRecursion.kt")
public void testIntermediateRecursion() throws Exception {
runTest("compiler/testData/diagnostics/tests/platformTypes/rawTypes/intermediateRecursion.kt");
}
@Test
@TestMetadata("kt47459.kt")
public void testKt47459() throws Exception {
runTest("compiler/testData/diagnostics/tests/platformTypes/rawTypes/kt47459.kt");
}
@Test
@TestMetadata("nonGenericRawMember.kt")
public void testNonGenericRawMember() throws Exception {