[FE] Substitute erased type parameters as covariant

This commit is contained in:
Victor Petukhov
2022-04-25 18:59:52 +03:00
committed by teamcity
parent 4293b546ba
commit 54f0794ce3
8 changed files with 52 additions and 3 deletions
@@ -15499,6 +15499,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
runTest("compiler/testData/diagnostics/tests/inference/emptyIntersectionTypes/nullableEmptyIntersection.kt");
}
@Test
@TestMetadata("recursiveTypeParameters.kt")
public void testRecursiveTypeParameters() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/emptyIntersectionTypes/recursiveTypeParameters.kt");
}
@Test
@TestMetadata("selectFromCovariantAndContravariantTypes.kt")
public void testSelectFromCovariantAndContravariantTypes() throws Exception {