mirror of
https://github.com/Z3Prover/z3
synced 2025-06-21 13:23:39 +00:00
fix instantiations
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
9f5bd2feda
commit
d05d3bac4f
2 changed files with 28 additions and 3 deletions
|
@ -917,7 +917,10 @@ namespace smt2 {
|
|||
pdatatype_decl * d = new_dt_decls[i];
|
||||
symbol duplicated;
|
||||
check_duplicate(d, line, pos);
|
||||
m_ctx.insert(d);
|
||||
if (!is_smt2_6) {
|
||||
// datatypes are inserted up front in SMT2.6 mode, so no need to re-insert them.
|
||||
m_ctx.insert(d);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
TRACE("declare_datatypes", tout << "i: " << i << " new_dt_decls.size(): " << sz << "\n";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue