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

Missing validation for ErrorStateToModeMapping.mappedModes #2832

Open
joeseibel opened this issue Aug 9, 2022 · 0 comments
Open

Missing validation for ErrorStateToModeMapping.mappedModes #2832

joeseibel opened this issue Aug 9, 2022 · 0 comments

Comments

@joeseibel
Copy link
Contributor

If a mode mapping is in a modal subclause, the validator should check that the referenced modes are listed in the in modes of the subclause. The validator should place an error on the following model:

package missing_validation
public
  system s
    modes
      m1: initial mode;
      m2: mode;
    annex EMV2 {**
      use behavior missing_validation::machine1;

      component error behavior
        mode mappings
          state1 in modes (m1);
      end component;
    **} in modes (m2);
  end s;

  annex EMV2 {**
    error behavior machine1
      states
        state1: initial state;
    end behavior;
  **};
end missing_validation;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant