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

Console Output of State Machine Definition doesn't merge definitions #3

Open
cepsdev opened this issue May 19, 2021 · 0 comments
Open
Labels
bug Something isn't working

Comments

@cepsdev
Copy link
Owner

cepsdev commented May 19, 2021

Consider following definition:

sm{
EVCC_Application_Layer;
states{Initial;A;B;Final;};
t{Initial;A;};
};

sm{
EVCC_Application_Layer;
t{A;B;};
};

this is correctly interpreted as

sm{
EVCC_Application_Layer;
states{Initial;A;B;Final;};
t{Initial;A;};
t{A;B;};
};

but printed as two different state machines (e.g. using --pe --format ansi)

State Machine EVCC_Application_Layer:
States:
Initial, A, B, Final
Transitions:
Initial --▶ A

State Machine EVCC_Application_Layer:
Transitions:
A --▶ B

Should be:

State Machine EVCC_Application_Layer:
States:
Initial, A, B, Final
Transitions:
Initial --▶ A
A --▶ B

@cepsdev cepsdev added the bug Something isn't working label May 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant