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

Dolmen "stops" at the first error #78

Open
aytey opened this issue Jul 19, 2021 · 1 comment
Open

Dolmen "stops" at the first error #78

aytey opened this issue Jul 19, 2021 · 1 comment

Comments

@aytey
Copy link

aytey commented Jul 19, 2021

For a file such as:

(set-logic QF_LIA)
(push 1)
(declare-fun a () Int)
(declare-fun b () Int)
(assert (= 0 (* 2 (+ a b))))
(pop 1)
(push 1)
(declare-fun c () Int)
(declare-fun d () Int)
(assert (= 0 (* 2 (+ c d))))
(pop 1)

Dolmen only reports on the first "error".

(I used push/pop to make it clear that these should be "recoverable" errors; the same problem happens without incremental solving)

@Gbury
Copy link
Owner

Gbury commented Jul 19, 2021

It might be feasible to continue and report other errors when an error is reported in an assert, I'll try and look at it. (For errors in other statements, maybe we could then simply skip until the current scope is popped I guess).
I'll implement that (but it's probably going to be at a lower priority compared to the other bug reports).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants