Skip to content

Conversation

@kroening
Copy link
Collaborator

This improves the error reporting when the Buechi conversion is given an unsupported property.

…operty

This improves the error reporting when the Buechi conversion is given an
unsupported property.
@kroening kroening force-pushed the ltl_to_buechi_unsupported branch from 199dc18 to 6c05d42 Compare October 28, 2025 02:32
@kroening kroening marked this pull request as ready for review October 28, 2025 13:35
Comment on lines +40 to +43
// make the automaton for the negation of the property
auto buechi =
ltl_to_buechi(not_exprt{property.normalized_expr}, message_handler);

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not entirely comfortable putting a large block of code into a try clause as it makes it far from clear which statements can raise an exception. Am I wrong in that ltl_to_buechi is actually the only call in here that can result in the specific exception that's later caught? I acknowledge that this is just me being uncomfortable, it's not a hard blocker.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it is; this bugged me as well. To fix this, you'd need to extract that block into a function.

@kroening kroening merged commit 9e0058b into main Oct 29, 2025
11 checks passed
@kroening kroening deleted the ltl_to_buechi_unsupported branch October 29, 2025 17:12
kroening added a commit that referenced this pull request Oct 29, 2025
This applies the changes needed for #1368 to #1363.
kroening added a commit that referenced this pull request Oct 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants