mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Convert DeclContext Parameters to their Associated Generic Signatures Instead
This commit is contained in:
@@ -257,7 +257,7 @@ void ConcreteExistentialInfo::initializeSubstitutionMap(
|
||||
// filtered when using it with this (phony) generic signature.
|
||||
CanGenericSignature ExistentialSig =
|
||||
M->getASTContext().getOpenedArchetypeSignature(ExistentialType,
|
||||
M->getSwiftModule());
|
||||
GenericSignature());
|
||||
ExistentialSubs = SubstitutionMap::get(
|
||||
ExistentialSig, [&](SubstitutableType *type) { return ConcreteType; },
|
||||
[&](CanType /*depType*/, Type /*replaceType*/,
|
||||
|
||||
Reference in New Issue
Block a user