3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-13 12:28:44 +00:00

don't apply tactics in parse mode

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2023-02-02 20:50:46 -08:00
parent 72e7a8a481
commit 839f87a10c

View file

@ -296,9 +296,10 @@ public:
}
void execute(cmd_context & ctx) override {
if (!m_tactic) {
if (!m_tactic)
throw cmd_exception("apply needs a tactic argument");
}
if (ctx.ignore_check())
return;
params_ref p = ctx.params().merge_default_params(ps());
tactic_ref tref = using_params(sexpr2tactic(ctx, m_tactic), p);
{