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

state machines' guard doesn't react properly when there are minus numbers #908

vahdat-ab opened this Issue Oct 28, 2016 · 0 comments


None yet
2 participants
Copy link

commented Oct 28, 2016

Consider the following example which is a valid one.

class A{
      turnOff (Integer pn) [pn >-1] -> off;
      turnOn -> on;

it shows the following messages. The code is correct. The issue is because of -1.

Warning on line 4 : State machine syntax could not be processed. It has been considered as Extra Code. More information (1006)
Warning on line 7 : State 'off' from StateMachine 'status' is non-reachable.. More information (67)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.