[FIR] Add regression tests for number of issues fixed in K2
List of issues: KT-4113, KT-6822, KT-7389, KT-17817, KT-20223 KT-21463, KT-24503, KT-24737, KT-24779, KT-24901 KT-27261, KT-28668, KT-30497, KT-30756, KT-36958 KT-37365, KT-37490, KT-38288, KT-41038, KT-41721 KT-42136, KT-42169, KT-42449, KT-42715, KT-43553 KT-43603, KT-43846, KT-43936, KT-46288, KT-46301 KT-47373, KT-47484, KT-47490, KT-47495, KT-47750 KT-47815, KT-47870, KT-48975, KT-49024, KT-49045 KT-50134, KT-50160, KT-50550, KT-51045, KT-51143 KT-51796, KT-52262, KT-52424, KT-52860, KT-52934 KT-53086, KT-53494, KT-53671, KT-53752, KT-53819 KT-54478, KT-54518, KT-54931, KT-54990, KT-55138 KT-55379, KT-55555, KT-56243
This commit is contained in:
committed by
Space Team
parent
8ae5213155
commit
aef9b129d2
Generated
+6
@@ -12200,6 +12200,12 @@ public class DiagnosticTestGenerated extends AbstractDiagnosticTest {
|
||||
runTest("compiler/testData/diagnostics/tests/generics/anonymousObjectSupertypeWithTypeParameterFromFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("approximationOfInProjection.kt")
|
||||
public void testApproximationOfInProjection() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/generics/approximationOfInProjection.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("argumentsForT.kt")
|
||||
public void testArgumentsForT() throws Exception {
|
||||
|
||||
+30
@@ -516,6 +516,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
||||
runTest("compiler/testData/codegen/box/annotations/instances/inInlineFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("innerAnnotationInstantiation.kt")
|
||||
public void testInnerAnnotationInstantiation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/annotations/instances/innerAnnotationInstantiation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaAnnotation.kt")
|
||||
public void testJavaAnnotation() throws Exception {
|
||||
@@ -654,6 +660,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/annotations/typeAnnotations"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationWithTypeParameterOnReturnType.kt")
|
||||
public void testAnnotationWithTypeParameterOnReturnType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/annotations/typeAnnotations/annotationWithTypeParameterOnReturnType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("checkingNotincorporatedInputTypes.kt")
|
||||
public void testCheckingNotincorporatedInputTypes() throws Exception {
|
||||
@@ -3213,6 +3225,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
||||
runTest("compiler/testData/codegen/box/callableReference/kt52270.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt55138.kt")
|
||||
public void testKt55138() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/callableReference/kt55138.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nested.kt")
|
||||
public void testNested() throws Exception {
|
||||
@@ -6138,6 +6156,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
||||
runTest("compiler/testData/codegen/box/classes/inner/extensionWithOuter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("innerClassDerivedFromOuterClass.kt")
|
||||
public void testInnerClassDerivedFromOuterClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/classes/inner/innerClassDerivedFromOuterClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("instantiateInDerived.kt")
|
||||
public void testInstantiateInDerived() throws Exception {
|
||||
@@ -47371,6 +47395,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
||||
runTest("compiler/testData/codegen/box/sam/recordSubstitutedTypeForCallableSamParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("samAsIndexInArrayAssignment.kt")
|
||||
public void testSamAsIndexInArrayAssignment() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/sam/samAsIndexInArrayAssignment.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("samConstructorGenericSignature.kt")
|
||||
public void testSamConstructorGenericSignature() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user