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

mr: Handle upon 'or' case more properly #11

Merged
merged 1 commit into from
Sep 16, 2024

Conversation

MP-StefanKraus
Copy link
Collaborator

When given 3 or more 'or' events in the 'upon' clause, the regular_condition_unexp_pt splits (a|b|c) into ((a|b)|c), surrounded by brackets. This was not handled properly, the result contained e.g. (a with bracket.

This shows that the current split behaviour is not sufficient for cases where all of FRET allowed features is correctly transformed. While sufficient for simpler cases and the features we used, there is still work to do for a proper transformation case.

When given 3 or more 'or' events in the 'upon' clause,
the regular_condition_unexp_pt splits (a|b|c) into ((a|b)|c), surrounded
by brackets. This was not handled properly, the result contained e.g. (a
with bracket.

This shows that the current split behaviour is not sufficient for cases
where all of FRET allowed features is correctly transformed. While
sufficient for simpler cases and the features we used, there is still
work to do for a proper transformation case.

Signed-off-by: Stefan Kraus <[email protected]>
@schlotter schlotter merged commit 6ee969d into main Sep 16, 2024
4 checks passed
@schlotter schlotter deleted the fix-upon-transformation-bug branch September 16, 2024 20:26
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