-
Notifications
You must be signed in to change notification settings - Fork 17
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
Unclear error message during model checking #180
Comments
Right, I'll improve the syntax error message for that case (probably after the holidays though). The reason for using a boolean instead of a flag is that it's easier if/when the default ever changes. That being said, I'm planning to make it so that you do not need to explicitly set the option when providing a file using the |
I also found a wrong message from the type checker with this input file:
Dolmenls outputs:
But we expect PS: I didn't open a new issue for such a tiny problem but I can do so if you want. |
Ah, that's an unfortunate problem of the current code, which uses the same type for |
Is there a reason for refusing to check models with an |
No real reason, I just didn't really think about that situation. |
Maybe display warnings rather than errors for failed assertions? |
That would work. I'll probably implement that soon. |
I was using Dolmen to check models generated by Alt-Ergo as follow:
alt-ergo --produce-models --frontend dolmen test.smt2 | dolmen --check-model true test.smt2
and I got the message:
It makes sense that Dolmen refuses this response file since AE gives a model but outputs
unknown
. If I replace the answer bysat
, everything works but the error message is not very clear.Besides, why do you use a boolean value for the option
--check-model
? In my opinion a flag would be better.The text was updated successfully, but these errors were encountered: