Fix type table serialization in DescriptorSerializer
Always serialize type table (and version requirement table) after everything else, to prevent bugs like KT-51446 where inline class underlying type was added to the type table after it has already been serialized. #KT-51446 Fixed
This commit is contained in:
+6
@@ -5700,6 +5700,12 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
|
||||
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/privateConstructorWithPrivateField.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("privateConstructorWithPrivateFieldUsingTypeTable.kt")
|
||||
public void testPrivateConstructorWithPrivateFieldUsingTypeTable() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/privateConstructorWithPrivateFieldUsingTypeTable.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("privateTopLevelValInDifferentModule.kt")
|
||||
public void testPrivateTopLevelValInDifferentModule() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user