3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-21 21:33:39 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2018-10-26 10:11:03 -05:00
parent 67077d960e
commit c5cbf985ca
5 changed files with 21 additions and 8 deletions

View file

@ -404,6 +404,10 @@ namespace recfun {
}
}
bool plugin::has_defs() const {
return !m_case_defs.empty();
}
def* plugin::mk_def(symbol const& name, unsigned n, sort ** params, sort * range,
unsigned n_vars, var ** vars, expr * rhs) {
SASSERT(! m_defs.contains(name));