-
Notifications
You must be signed in to change notification settings - Fork 1
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
Restructuring channel power state to an enum #183
Conversation
Co-authored-by: Robert Jördens <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
There is no static analysis of the event/state combinations in smlang, right? I.e. if code does handle_event(X)
while in state Y
, we get a panic if there is no corresponding transition. Or does it ignore these events?
When you call |
This PR fixes #174 by refactoring the power state of channels to be a 3-valued enum.
TODO: