Always ensure literal when requiring phase via inference manager (#8292)
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>
Sat, 12 Mar 2022 00:26:37 +0000 (18:26 -0600)
committerGitHub <noreply@github.com>
Sat, 12 Mar 2022 00:26:37 +0000 (00:26 +0000)
commit27b472240649f4fc6a9a2819282711300b426ba6
treedae319cfe2876f0de132aa06305f17d57a824904
parent4106b9314285c4f8641af414566e9382e2e1bfec
Always ensure literal when requiring phase via inference manager (#8292)

Also to be safe, ensures we clear pending in quantifiers engine.

Fixes cvc5/cvc5-projects#484.
src/theory/quantifiers_engine.cpp
src/theory/theory_inference_manager.cpp
test/api/cpp/CMakeLists.txt
test/api/cpp/proj-issue484.cpp [new file with mode: 0644]