The assertions object is currently not cleared on resetAssertions, only the prop engine is reset. This means that if a user added assertion, did not use them in a check-sat, and then called reset-assertions, they would not be removed from the assertions pipeline (storing the pending assertions before they are sent to the prop engine).
This fixes #5144.
getOutputManager().getDumpOut());
}
+ d_asserts->clearCurrent();
d_state->notifyResetAssertions();
d_dumpm->resetAssertions();
// push the state to maintain global context around everything
regress0/issue2832-qualId.smt2
regress0/issue4010-sort-inf-var.smt2
regress0/issue4469-unc-no-reuse-var.smt2
+ regress0/issue5144-resetAssertions.smt2
regress0/ite.cvc
regress0/ite2.smt2
regress0/ite3.smt2
--- /dev/null
+(set-logic QF_LIA)
+(set-info :status sat)
+(assert (= 0 1))
+(reset-assertions)
+(check-sat)