FE: add tests for KT-53966 (positive/negative)
This commit is contained in:
committed by
Space Team
parent
12a083af25
commit
5a9e8b3c0a
+6
@@ -6273,6 +6273,12 @@ public class DiagnosisCompilerFirTestdataTestGenerated extends AbstractDiagnosis
|
||||
runTest("compiler/fir/analysis-tests/testData/resolveWithStdlib/problems/exceptionInRepeatedAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("falseSamConversion.kt")
|
||||
public void testFalseSamConversion() throws Exception {
|
||||
runTest("compiler/fir/analysis-tests/testData/resolveWithStdlib/problems/falseSamConversion.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("immutableName.kt")
|
||||
public void testImmutableName() throws Exception {
|
||||
|
||||
+6
@@ -27572,6 +27572,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
|
||||
runTest("compiler/testData/diagnostics/tests/samConversions/samConversionToGeneric.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("samConversionWithCondition.kt")
|
||||
public void testSamConversionWithCondition() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/samConversions/samConversionWithCondition.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("samConversionsWithSmartCasts.kt")
|
||||
public void testSamConversionsWithSmartCasts() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user