Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Z3 python plugin API's decide method broken #7451

Closed
linusheck opened this issue Nov 13, 2024 · 0 comments · Fixed by #7452
Closed

Z3 python plugin API's decide method broken #7451

linusheck opened this issue Nov 13, 2024 · 0 comments · Fixed by #7452

Comments

@linusheck
Copy link
Contributor

I found some issues in the Python plugin API. The decide method uses the undefined variable t_ref:

t = _to_expr_ref(to_Ast(t_ref), prop.ctx())

Also, registering a decide refers to the undefined property self.decide:
def add_decide(self, decide):

which should have been declared here:
self.created = None

linusheck added a commit to linusheck/z3 that referenced this issue Nov 13, 2024
NikolajBjorner pushed a commit that referenced this issue Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant