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.
2 parents f80d113 + d4df4b3 commit f722671Copy full SHA for f722671
lib/AST/ProtocolConformance.cpp
@@ -861,7 +861,7 @@ void SpecializedProtocolConformance::computeConditionalRequirements() const {
861
auto &ctxt = getProtocol()->getASTContext();
862
ConditionalRequirements = ctxt.AllocateCopy(newReqs);
863
} else {
864
- ConditionalRequirements = {};
+ ConditionalRequirements = ArrayRef<Requirement>();
865
}
866
867
0 commit comments