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

Fix missing in-arrow to start state #17

Merged
merged 4 commits into from
Oct 24, 2024
Merged

Conversation

Lai-YT
Copy link
Owner

@Lai-YT Lai-YT commented Oct 24, 2024

The start state is often not numbered as 0 due to the order of state creation, but by default, the start state should be 0 if no in-arrow is specified. This PR adds an explicit in-arrow to the start state to ensure correctness.

This bumps the version to 1.0.3.

@Lai-YT Lai-YT added the bug Something isn't working label Oct 24, 2024
The start state has to be explicitly specified with an in-arrow;
otherwise, the state with number 0 is select by default, which isn't
correct in our cases.
@Lai-YT Lai-YT force-pushed the fix-missing-arrow-to-start-state branch from 72376ec to 8fac72d Compare October 24, 2024 06:51
@Lai-YT Lai-YT merged commit 6387169 into main Oct 24, 2024
2 checks passed
@Lai-YT Lai-YT deleted the fix-missing-arrow-to-start-state branch October 24, 2024 06:52
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

Successfully merging this pull request may close these issues.

1 participant