Convert DeclContext Parameters to their Associated Generic Signatures Instead

This commit is contained in:
Robert Widmann
2022-03-07 22:53:56 -08:00
parent 01d9d61cc8
commit ab44a07045
26 changed files with 148 additions and 111 deletions

View File

@@ -74,7 +74,8 @@ void emitDistributedActorSystemWitnessCall(
// If the base is an existential open it.
if (systemASTType->isAnyExistentialType()) {
OpenedArchetypeType *opened;
systemASTType = systemASTType->openAnyExistentialType(opened, module)
systemASTType = systemASTType->openAnyExistentialType(opened,
F.getGenericSignature())
->getCanonicalType();
base = B.createOpenExistentialAddr(
loc, base, F.getLoweredType(systemASTType),