Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[SFN] Fixes and cleanups of choiceRule parsing #9062

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

Merged
merged 2 commits into from
Sep 6, 2023

Conversation

MEPalma
Copy link
Contributor

@MEPalma MEPalma commented Sep 4, 2023

Motivation

Fixes the parsing of Choice states for which the ordering of Variable and Comparison function statements is interrupted by Next declarations. It also simplifies the cleans up the grammar end evaluation logic of choice statements by better differentiating between variable comparisons and composite comparisons. It also adds the machine definition in InvalidDefinition exceptions to ease future parsing issues.

Changes

  • fixed parsing of choice_rule productions
  • added concept of variable and composite comparisons
  • several cleanups of tidy-ups around the choice rule evaluation components
  • added relevant choice state tests

@MEPalma MEPalma added the semver: minor Non-breaking changes which can be included in minor releases, but not in patch releases label Sep 4, 2023
@MEPalma MEPalma added this to the 2.3 milestone Sep 4, 2023
@MEPalma MEPalma self-assigned this Sep 4, 2023
@github-actions
Copy link

github-actions bot commented Sep 4, 2023

LocalStack Community integration with Pro

       2 files         2 suites   1h 23m 6s ⏱️
2 163 tests 1 676 ✔️ 487 💤 0
2 164 runs  1 676 ✔️ 488 💤 0

Results for commit ad46872.

♻️ This comment has been updated with latest results.

@MEPalma MEPalma merged commit 237519e into master Sep 6, 2023
@MEPalma MEPalma deleted the mep-sfn-invalid-def-in-choice-stmts branch September 6, 2023 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver: minor Non-breaking changes which can be included in minor releases, but not in patch releases
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: PROVIDER_OVERRIDE_STEPFUNCTIONS=v2 - Getting InvalidDefinition: None for a valid state machine definition
2 participants