Merge pull request #60523 from slavapestov/fix-opened-generic-environment-identity

Serialization: Preserve identity of opened generic environments
This commit is contained in:
Slava Pestov
2022-08-16 14:33:44 -04:00
committed by GitHub
16 changed files with 223 additions and 123 deletions

View File

@@ -113,6 +113,7 @@ ModuleFile::ModuleFile(std::shared_ptr<const ModuleFileSharedCore> core)
allocateBuffer(Types, core->Types);
allocateBuffer(ClangTypes, core->ClangTypes);
allocateBuffer(GenericSignatures, core->GenericSignatures);
allocateBuffer(GenericEnvironments, core->GenericEnvironments);
allocateBuffer(SubstitutionMaps, core->SubstitutionMaps);
allocateBuffer(Identifiers, core->Identifiers);
}