mirror of
https://github.com/Z3Prover/z3
synced 2025-06-22 22:03:39 +00:00
parent
ae5e39a8b8
commit
bb7b3c510f
1 changed files with 3 additions and 0 deletions
|
@ -308,6 +308,9 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual void execute(cmd_context & ctx) {
|
virtual void execute(cmd_context & ctx) {
|
||||||
|
if (!m_tactic) {
|
||||||
|
throw cmd_exception("apply needs a tactic argument");
|
||||||
|
}
|
||||||
params_ref p = ctx.params().merge_default_params(ps());
|
params_ref p = ctx.params().merge_default_params(ps());
|
||||||
tactic_ref tref = using_params(sexpr2tactic(ctx, m_tactic), p);
|
tactic_ref tref = using_params(sexpr2tactic(ctx, m_tactic), p);
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue