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 fca570c commit 73561e8Copy full SHA for 73561e8
lib/Sema/CSStep.cpp
@@ -319,7 +319,7 @@ StepResult ComponentStep::take(bool prevFailed) {
319
// One of the previous components created by "split"
320
// failed, it means that we can't solve this component.
321
if ((prevFailed && DependsOnPartialSolutions.empty()) ||
322
- CS.isTooComplex(Solutions))
+ CS.isTooComplex(Solutions) || CS.worseThanBestSolution())
323
return done(/*isSuccess=*/false);
324
325
// Setup active scope, only if previous component didn't fail.
0 commit comments