[FIR] Store abbreviated type in deserialized declarations as attribute

#KT-58542 Fixed
This commit is contained in:
Kirill Rakhman
2023-08-22 18:38:39 +02:00
committed by Space Team
parent 8e72f60996
commit 5b4409e34c
34 changed files with 251 additions and 89 deletions
@@ -36465,6 +36465,12 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/typealias"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("deserializedAbbreviationWithRedundantArgument.kt")
public void testDeserializedAbbreviationWithRedundantArgument() throws Exception {
runTest("compiler/testData/codegen/box/typealias/deserializedAbbreviationWithRedundantArgument.kt");
}
@Test
@TestMetadata("enumEntryQualifier.kt")
public void testEnumEntryQualifier() throws Exception {
@@ -36465,6 +36465,12 @@ public class FirJsES6CodegenBoxTestGenerated extends AbstractFirJsES6CodegenBoxT
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/typealias"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, true);
}
@Test
@TestMetadata("deserializedAbbreviationWithRedundantArgument.kt")
public void testDeserializedAbbreviationWithRedundantArgument() throws Exception {
runTest("compiler/testData/codegen/box/typealias/deserializedAbbreviationWithRedundantArgument.kt");
}
@Test
@TestMetadata("enumEntryQualifier.kt")
public void testEnumEntryQualifier() throws Exception {
@@ -36465,6 +36465,12 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/typealias"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("deserializedAbbreviationWithRedundantArgument.kt")
public void testDeserializedAbbreviationWithRedundantArgument() throws Exception {
runTest("compiler/testData/codegen/box/typealias/deserializedAbbreviationWithRedundantArgument.kt");
}
@Test
@TestMetadata("enumEntryQualifier.kt")
public void testEnumEntryQualifier() throws Exception {
@@ -36465,6 +36465,12 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/typealias"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, true);
}
@Test
@TestMetadata("deserializedAbbreviationWithRedundantArgument.kt")
public void testDeserializedAbbreviationWithRedundantArgument() throws Exception {
runTest("compiler/testData/codegen/box/typealias/deserializedAbbreviationWithRedundantArgument.kt");
}
@Test
@TestMetadata("enumEntryQualifier.kt")
public void testEnumEntryQualifier() throws Exception {