summaryrefslogtreecommitdiff
path: root/src/main/interactive_shell.h
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2020-11-09 14:38:54 -0600
committerGitHub <noreply@github.com>2020-11-09 14:38:54 -0600
commitbf98dd46aa92241d33901e84a437536ad5010be1 (patch)
treef71903ac761f31d91090407877d5be9af1445771 /src/main/interactive_shell.h
parent4b894cc0201783a40cd92e9bffe7257d44f8f4e4 (diff)
Simplify handling of subtypes in smt2 printer (#5401)
This makes major simplifications to how subtypes are enforced in the smt2 printer. It is now the principle that the smt2 prints things faithfully to the AST, regardless of whether it conforms to the smt2 standard. It also fixes the current smt2 printing of to_real. Conversely, this removes a hack from GetValueCommand which forced casting via x -> (/ x 1). This is now properly handled in Solver::getValue. Some regressions change expected output as a result. Notice that internally generated Node may not conform to the smt2 standard, but user-level terms will.
Diffstat (limited to 'src/main/interactive_shell.h')
0 files changed, 0 insertions, 0 deletions
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback