[Tests] Add regression test for #KT-64702

This commit is contained in:
Kirill Rakhman
2024-01-03 17:19:23 +01:00
committed by Space Team
parent 533ed5c622
commit 10d6d95ee8
7 changed files with 42 additions and 0 deletions
@@ -17814,6 +17814,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
public void testTopLevelCapturingInsideReturnType() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/capturedTypes/topLevelCapturingInsideReturnType.kt");
}
@Test
@TestMetadata("upperBoundOfCapturedInProjectionInOutPosition.kt")
public void testUpperBoundOfCapturedInProjectionInOutPosition() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/capturedTypes/upperBoundOfCapturedInProjectionInOutPosition.kt");
}
}
@Nested
@@ -17814,6 +17814,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
public void testTopLevelCapturingInsideReturnType() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/capturedTypes/topLevelCapturingInsideReturnType.kt");
}
@Test
@TestMetadata("upperBoundOfCapturedInProjectionInOutPosition.kt")
public void testUpperBoundOfCapturedInProjectionInOutPosition() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/capturedTypes/upperBoundOfCapturedInProjectionInOutPosition.kt");
}
}
@Nested