mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge pull request #81879 from meg-gupta/fixdeserialization
Fix deserialization of lifetime dependencies on ast function types
This commit is contained in:
@@ -2734,10 +2734,10 @@ void Serializer::writeLifetimeDependencies(
|
||||
|
||||
auto abbrCode = DeclTypeAbbrCodes[LifetimeDependenceLayout::Code];
|
||||
LifetimeDependenceLayout::emitRecord(
|
||||
Out, ScratchRecord, abbrCode, info.getTargetIndex(), info.isImmortal(),
|
||||
Out, ScratchRecord, abbrCode, info.getTargetIndex(),
|
||||
info.getParamIndicesLength(), info.isImmortal(),
|
||||
info.hasInheritLifetimeParamIndices(),
|
||||
info.hasScopeLifetimeParamIndices(),
|
||||
info.hasAddressableParamIndices(),
|
||||
info.hasScopeLifetimeParamIndices(), info.hasAddressableParamIndices(),
|
||||
paramIndices);
|
||||
paramIndices.clear();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user