summaryrefslogtreecommitdiff
path: root/src/pretty_print.mli
diff options
context:
space:
mode:
authorAlasdair Armstrong2019-03-14 14:18:09 +0000
committerAlasdair Armstrong2019-03-14 14:22:41 +0000
commitd6690cce7569c1438f14e187a28f8139255c4e19 (patch)
tree429f5a452bc36c064f3ea7b94a33ba582ebad87d /src/pretty_print.mli
parent0b191fdc6ee7929a7c4667e2835c8e8c1d6e3ada (diff)
Fix unification missing variables in generated SMT
Some SMT goals in unification would generate problems with missing variables. Turns out the SMT solver would happily ignore this and return the correct unsat/sat result anyway. However, this does affect the error code from the solver so if we now check the return code we must make sure that we don't generate any smtlib files that generate warnings or errors. Now that kopts_of_X functions exist in ast_util we can just use those to get well-kinded variables from the constraint itself rather than relying on the typechecker to pass in a list of variables which makes things simpler to boot!
Diffstat (limited to 'src/pretty_print.mli')
0 files changed, 0 insertions, 0 deletions