Address review feedback on AbstractConformance in ProtocolConformanceRef

This commit is contained in:
Doug Gregor
2025-03-23 10:13:19 -07:00
parent 2a7de1b559
commit 731f58443c
37 changed files with 83 additions and 81 deletions

View File

@@ -1498,7 +1498,7 @@ SDKNodeInitInfo::SDKNodeInitInfo(SDKContext &Ctx, ImportDecl *ID):
}
SDKNodeInitInfo::SDKNodeInitInfo(SDKContext &Ctx, ProtocolConformanceRef Conform):
SDKNodeInitInfo(Ctx, Conform.getRequirement()) {
SDKNodeInitInfo(Ctx, Conform.getProtocol()) {
// The conformance can be conditional. The generic signature keeps track of
// the requirements.
if (Conform.isConcrete()) {