mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 03:15:50 +00:00
add object z3 objects to target context during translation, to fix build regression failure on z3test.py
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
4f5b0667ef
commit
6f971a3a86
4 changed files with 4 additions and 4 deletions
|
@ -156,7 +156,7 @@ extern "C" {
|
|||
LOG_Z3_goal_translate(c, g, target);
|
||||
RESET_ERROR_CODE();
|
||||
ast_translation translator(mk_c(c)->m(), mk_c(target)->m());
|
||||
Z3_goal_ref * _r = alloc(Z3_goal_ref, *mk_c(c));
|
||||
Z3_goal_ref * _r = alloc(Z3_goal_ref, *mk_c(target));
|
||||
_r->m_goal = to_goal_ref(g)->translate(translator);
|
||||
mk_c(target)->save_object(_r);
|
||||
Z3_goal r = of_goal(_r);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue