Skip to content

(LPS/LTS)2(PBES/PRES) logging: Clearer message for warning#1935

Open
jacenre wants to merge 1 commit into
mCRL2org:masterfrom
jacenre:fix/ambiguous-logs
Open

(LPS/LTS)2(PBES/PRES) logging: Clearer message for warning#1935
jacenre wants to merge 1 commit into
mCRL2org:masterfrom
jacenre:fix/ambiguous-logs

Conversation

@jacenre

@jacenre jacenre commented May 28, 2026

Copy link
Copy Markdown
Collaborator

Previously, it sounds like one is trying to use actions that do not exist.
Instead, the actions are defined, but they do not appear in the LPS/LTS.
Also, print the entire list to improve the usefulness of the warning.

@jacenre jacenre requested a review from mlaveaux May 28, 2026 13:41
@jacenre jacenre self-assigned this May 28, 2026

@jkeiren jkeiren left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Make sure to update the remaining language issues.

Also, if there is only 1 action in the diff, technically the message should still be singular. Have a look elsewhere if we print the message singular or not, and make sure we are consistent here.

<< " that does not appear in the LPS!" << std::endl;
mCRL2log(log::warning) << "Warning: the modal formula contains actions "
<< core::detail::print_list(diff)
<< " that are in the data specification, but does not appear in the LPS!" << std::endl;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

does -> do

<< " that does not appear in the LPS!" << std::endl;
mCRL2log(log::warning) << "Warning: the modal formula contains actions "
<< core::detail::print_list(diff)
<< " that are in the data specification, but does not appear in the LPS!" << std::endl;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

does -> do

<< " that does not appear in the LTS!" << std::endl;
mCRL2log(log::warning) << "Warning: the modal formula contains actions "
<< core::detail::print_list(diff)
<< " that are in the data specification, but does not appear in the LTS!" << std::endl;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

does -> do

<< " that does not appear in the LTS!" << std::endl;
mCRL2log(log::warning) << "Warning: the modal formula contains actions "
<< core::detail::print_list(diff)
<< " that are in the data specification, but does not appear in the LTS!" << std::endl;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

does -> do

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

Successfully merging this pull request may close these issues.

2 participants