[6.2] Fix deserialization of lifetime dependencies on ast function types

This commit is contained in:
Meghana Gupta
2025-06-02 16:23:22 -07:00
parent f45edab102
commit 637f8ef03e
6 changed files with 70 additions and 22 deletions

View File

@@ -58,7 +58,7 @@ const uint16_t SWIFTMODULE_VERSION_MAJOR = 0;
/// describe what change you made. The content of this comment isn't important;
/// it just ensures a conflict if two people change the module format.
/// Don't worry about adhering to the 80-column limit for this line.
const uint16_t SWIFTMODULE_VERSION_MINOR = 941; // add modifier to @_inheritActorContext
const uint16_t SWIFTMODULE_VERSION_MINOR = 942; // update LifetimeDependenceLayout
/// A standard hash seed used for all string hashes in a serialized module.
///
@@ -2317,6 +2317,7 @@ namespace decls_block {
using LifetimeDependenceLayout =
BCRecordLayout<LIFETIME_DEPENDENCE,
BCVBR<4>, // targetIndex
BCVBR<4>, // paramIndicesLength
BCFixed<1>, // isImmortal
BCFixed<1>, // hasInheritLifetimeParamIndices
BCFixed<1>, // hasScopeLifetimeParamIndices