[FIR] Serialize context receivers using the correct local serializer
This leads to type ref referring to generic type variables being serialized correctly. When the type variable is declared on the member itself, it's written to typeParameterName, otherwise it's written to typeParameter. This is required for deserialization to work correctly. #KT-63227 Fixed
This commit is contained in:
committed by
Space Team
parent
fe94876d9a
commit
7da271bab8
+6
@@ -14811,6 +14811,12 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/extensionProperties"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericContextOverride.kt")
|
||||
public void testGenericContextOverride() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/extensionProperties/genericContextOverride.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericValForPrimitiveType.kt")
|
||||
public void testGenericValForPrimitiveType() throws Exception {
|
||||
|
||||
+6
@@ -15163,6 +15163,12 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/extensionProperties"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericContextOverride.kt")
|
||||
public void testGenericContextOverride() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/extensionProperties/genericContextOverride.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericValForPrimitiveType.kt")
|
||||
public void testGenericValForPrimitiveType() throws Exception {
|
||||
|
||||
+6
@@ -14636,6 +14636,12 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/extensionProperties"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericContextOverride.kt")
|
||||
public void testGenericContextOverride() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/extensionProperties/genericContextOverride.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericValForPrimitiveType.kt")
|
||||
public void testGenericValForPrimitiveType() throws Exception {
|
||||
|
||||
+6
@@ -14812,6 +14812,12 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/extensionProperties"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericContextOverride.kt")
|
||||
public void testGenericContextOverride() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/extensionProperties/genericContextOverride.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericValForPrimitiveType.kt")
|
||||
public void testGenericValForPrimitiveType() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user