-
Notifications
You must be signed in to change notification settings - Fork 7
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
Unaccessible conditional fields in message types #410
Comments
This is not strictly a bug. The resulting substituted message type M2 is
message
F3_F1 : Boolean
then F3_F2
if F3_F1 = True
then null
if F3_F1 = False
and F3_F1 = True
and F3_F2 = False;
F3_F2 : Boolean
then null
if F3_F1 = True
and F3_F2 = False;
end message The replacement algorithm adds the condition present between Idea: Prune edges with conditions that are statically false (like the second condition of |
I'm not sure if that is a good idea. I suppose there are cases which are hard to handle correctly and could lead to unexpected results (e.g., fields with no successor or no path to Maybe it would be better to only remove all references to subsequent fields (e.g., replace all such relations by |
The text was updated successfully, but these errors were encountered: