K1/K2: add test cases for KT-53792 and KT-66369

This commit is contained in:
Mikhail Glukhikh
2024-03-06 13:13:10 +01:00
committed by Space Team
parent 09f384d96e
commit c04a8fc3b8
9 changed files with 180 additions and 0 deletions
@@ -13332,6 +13332,18 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
runTest("compiler/testData/diagnostics/tests/explicitDefinitelyNotNullableViaIntersection/disabledFeature.kt");
}
@Test
@TestMetadata("dnnTypeProjectionInParameter.kt")
public void testDnnTypeProjectionInParameter() {
runTest("compiler/testData/diagnostics/tests/explicitDefinitelyNotNullableViaIntersection/dnnTypeProjectionInParameter.kt");
}
@Test
@TestMetadata("dnnTypeProjectionInReceiver.kt")
public void testDnnTypeProjectionInReceiver() {
runTest("compiler/testData/diagnostics/tests/explicitDefinitelyNotNullableViaIntersection/dnnTypeProjectionInReceiver.kt");
}
@Test
@TestMetadata("inference.kt")
public void testInference() {
@@ -13332,6 +13332,18 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
runTest("compiler/testData/diagnostics/tests/explicitDefinitelyNotNullableViaIntersection/disabledFeature.kt");
}
@Test
@TestMetadata("dnnTypeProjectionInParameter.kt")
public void testDnnTypeProjectionInParameter() {
runTest("compiler/testData/diagnostics/tests/explicitDefinitelyNotNullableViaIntersection/dnnTypeProjectionInParameter.kt");
}
@Test
@TestMetadata("dnnTypeProjectionInReceiver.kt")
public void testDnnTypeProjectionInReceiver() {
runTest("compiler/testData/diagnostics/tests/explicitDefinitelyNotNullableViaIntersection/dnnTypeProjectionInReceiver.kt");
}
@Test
@TestMetadata("inference.kt")
public void testInference() {