3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-08 02:15:19 +00:00

fix #1922 - incorrect pretty printing of datatypes

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2018-11-12 09:21:51 -08:00
parent 8847898a7d
commit ef9b46b2e5

View file

@ -811,8 +811,6 @@ public:
m_out << ")";
}
m_out << "(";
m_out << m_renaming.get_symbol(d->name(), false);
m_out << " ";
bool first_constr = true;
for (datatype::constructor* f : *d) {
if (!first_constr) m_out << " "; else first_constr = false;