Fix IllegalStateException in case of recursive T & Any upper bound

^KT-50542 Fixed
This commit is contained in:
Denis.Zharkov
2022-01-11 18:20:19 +03:00
committed by teamcity
parent afc548d5d9
commit 964cf937c3
10 changed files with 96 additions and 2 deletions
@@ -10259,6 +10259,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
runTest("compiler/testData/diagnostics/tests/explicitDefinitelyNotNullableViaIntersection/overridesJavaAnnotated.kt");
}
@Test
@TestMetadata("recursiveBounds.kt")
public void testRecursiveBounds() throws Exception {
runTest("compiler/testData/diagnostics/tests/explicitDefinitelyNotNullableViaIntersection/recursiveBounds.kt");
}
@Test
@TestMetadata("reifiedArguments.kt")
public void testReifiedArguments() throws Exception {