Skip to content

Commit 18b34e5

Browse files
committed
Sema: Remove obsolete circularity break
1 parent 24d7b38 commit 18b34e5

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

lib/AST/ProtocolConformance.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -483,12 +483,6 @@ NormalProtocolConformance::getTypeWitnessAndDecl(AssociatedTypeDecl *assocType,
483483
return { Type(), nullptr };
484484
}
485485

486-
// If the conditional requirements aren't known, we can't properly run
487-
// inference.
488-
if (!getConditionalRequirementsIfAvailable()) {
489-
return TypeWitnessAndDecl();
490-
}
491-
492486
return evaluateOrDefault(
493487
assocType->getASTContext().evaluator,
494488
TypeWitnessRequest{const_cast<NormalProtocolConformance *>(this),

0 commit comments

Comments
 (0)