We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce3f6e0 commit 4433fe3Copy full SHA for 4433fe3
lib/AST/ProtocolConformanceRef.cpp
@@ -139,6 +139,10 @@ ProtocolConformanceRef ProtocolConformanceRef::mapConformanceOutOfContext() cons
139
MakeAbstractConformanceForGenericType(),
140
SubstFlags::PreservePackExpansionLevel |
141
SubstFlags::SubstitutePrimaryArchetypes);
142
+ } else if (isAbstract()) {
143
+ auto *abstract = getAbstract();
144
+ return forAbstract(abstract->getType()->mapTypeOutOfContext(),
145
+ abstract->getProtocol());
146
}
147
148
return *this;
0 commit comments