Error message for addsimp
on non-equation is vague
#2207
Labels
needs test
Issues for which we should add a regression test
subsystem: cryptol-saw-core
Issues related to Cryptol -> saw-core translation with cryptol-saw-core
topics: error-handling
Issues involving the way SAW responds to an error condition
topics: error-messages
Issues involving the messages SAW produces on error
type: bug
Issues reporting bugs or unexpected/unwanted behavior
usability
An issue that impedes efficient understanding and use
Milestone
If a user tries to add a theorem to a Simplification Set which SAW believes is not an equation then SAW will produce an error. The error message that it produces in this case is vague and doesn't significantly help diagnose the issue.
Example
The following SAW script yields the subsequent error message.
Recommendations
If possible, it would be helpful if the error also included:
The text was updated successfully, but these errors were encountered: