Merge pull request #81879 from meg-gupta/fixdeserialization

Fix deserialization of lifetime dependencies on ast function types
This commit is contained in:
Meghana Gupta
2025-06-03 08:56:54 -07:00
committed by GitHub
6 changed files with 70 additions and 22 deletions

View File

@@ -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();
}