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 e6e4bd6 + 5eeaaf0 commit 5022847Copy full SHA for 5022847
lib/Sema/CSStep.h
@@ -708,6 +708,9 @@ class DisjunctionStep final : public BindingStep<DisjunctionChoiceProducer> {
708
// Disable all of the overload choices which are different from
709
// the one which is currently picked for representative.
710
for (auto *constraint : disjunction->getNestedConstraints()) {
711
+ if (constraint->isDisabled())
712
+ continue;
713
+
714
auto choice = constraint->getOverloadChoice();
715
if (!choice.isDecl() || choice.getDecl() == representative.getDecl())
716
continue;
0 commit comments