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:
+1
@@ -77,6 +77,7 @@ object LanguageSettingsDirectives : SimpleDirectivesContainer() {
|
||||
val DISABLE_CALL_ASSERTIONS by directive("Disable assertions on calls")
|
||||
val NO_UNIFIED_NULL_CHECKS by directive("No unified null checks")
|
||||
val PARAMETERS_METADATA by directive("Add parameters metadata for 1.8 reflection")
|
||||
val USE_TYPE_TABLE by directive("Use type table in metadata serialization")
|
||||
|
||||
// --------------------- Utils ---------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user