[K2] Support interpretation of values in type annotations

#KT-57812
This commit is contained in:
Ivan Kylchik
2023-04-20 11:44:47 +02:00
committed by Space Team
parent 846ad95c9e
commit d26e3871ba
18 changed files with 324 additions and 26 deletions
@@ -24197,6 +24197,18 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
public void testAnnotationWithDefaults() throws Exception {
runTest("compiler/testData/codegen/box/involvesIrInterpreter/serialization/annotationWithDefaults.kt");
}
@Test
@TestMetadata("nestedTypeAnnotation.kt")
public void testNestedTypeAnnotation() throws Exception {
runTest("compiler/testData/codegen/box/involvesIrInterpreter/serialization/nestedTypeAnnotation.kt");
}
@Test
@TestMetadata("typeAnnotation.kt")
public void testTypeAnnotation() throws Exception {
runTest("compiler/testData/codegen/box/involvesIrInterpreter/serialization/typeAnnotation.kt");
}
}
}
@@ -24667,6 +24667,18 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
public void testAnnotationWithDefaults() throws Exception {
runTest("compiler/testData/codegen/box/involvesIrInterpreter/serialization/annotationWithDefaults.kt");
}
@Test
@TestMetadata("nestedTypeAnnotation.kt")
public void testNestedTypeAnnotation() throws Exception {
runTest("compiler/testData/codegen/box/involvesIrInterpreter/serialization/nestedTypeAnnotation.kt");
}
@Test
@TestMetadata("typeAnnotation.kt")
public void testTypeAnnotation() throws Exception {
runTest("compiler/testData/codegen/box/involvesIrInterpreter/serialization/typeAnnotation.kt");
}
}
}
@@ -23963,6 +23963,18 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
public void testAnnotationWithDefaults() throws Exception {
runTest("compiler/testData/codegen/box/involvesIrInterpreter/serialization/annotationWithDefaults.kt");
}
@Test
@TestMetadata("nestedTypeAnnotation.kt")
public void testNestedTypeAnnotation() throws Exception {
runTest("compiler/testData/codegen/box/involvesIrInterpreter/serialization/nestedTypeAnnotation.kt");
}
@Test
@TestMetadata("typeAnnotation.kt")
public void testTypeAnnotation() throws Exception {
runTest("compiler/testData/codegen/box/involvesIrInterpreter/serialization/typeAnnotation.kt");
}
}
}
@@ -24198,6 +24198,18 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
public void testAnnotationWithDefaults() throws Exception {
runTest("compiler/testData/codegen/box/involvesIrInterpreter/serialization/annotationWithDefaults.kt");
}
@Test
@TestMetadata("nestedTypeAnnotation.kt")
public void testNestedTypeAnnotation() throws Exception {
runTest("compiler/testData/codegen/box/involvesIrInterpreter/serialization/nestedTypeAnnotation.kt");
}
@Test
@TestMetadata("typeAnnotation.kt")
public void testTypeAnnotation() throws Exception {
runTest("compiler/testData/codegen/box/involvesIrInterpreter/serialization/typeAnnotation.kt");
}
}
}