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 35a64c9 commit 94e7969Copy full SHA for 94e7969
lib/AST/ProtocolConformanceRef.cpp
@@ -137,6 +137,10 @@ ProtocolConformanceRef ProtocolConformanceRef::mapConformanceOutOfContext() cons
137
MakeAbstractConformanceForGenericType(),
138
SubstFlags::PreservePackExpansionLevel |
139
SubstFlags::SubstitutePrimaryArchetypes);
140
+ } else if (isAbstract()) {
141
+ auto *abstract = getAbstract();
142
+ return forAbstract(abstract->getType()->mapTypeOutOfContext(),
143
+ abstract->getProtocol());
144
}
145
146
return *this;
0 commit comments