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 73561e8 commit 4d980ecCopy full SHA for 4d980ec
lib/Sema/CSStep.cpp
@@ -925,6 +925,10 @@ StepResult ConjunctionStep::resume(bool prevFailed) {
925
// Rewind back the constraint system information.
926
ActiveChoice.reset();
927
928
+ // Reset the best score which was updated by `ConstraintSystem::finalize`
929
+ // while forming solution(s) for the current element.
930
+ CS.solverState->BestScore.reset();
931
+
932
if (CS.isDebugMode())
933
getDebugLogger() << ")\n";
934
0 commit comments