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

Multiplication of boolref gives unclear error message #6503

Closed
Wout4 opened this issue Dec 20, 2022 · 0 comments
Closed

Multiplication of boolref gives unclear error message #6503

Wout4 opened this issue Dec 20, 2022 · 0 comments

Comments

@Wout4
Copy link

Wout4 commented Dec 20, 2022

Multiplications of 2 boolrefs gives an unclear z3exception, I suspect this is not supported but then a clear error message would be nice. (As is the case for other operators on boolrefs, like +, - and /)

example:
s = Solver()
b = Bool('b')
c = Bool('c')
s.add(c * b < 2)

hgvk94 pushed a commit to hgvk94/z3 that referenced this issue Mar 27, 2023
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
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

No branches or pull requests

1 participant