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 check of presence of field #413

Closed
treiher opened this issue Aug 24, 2020 · 0 comments · Fixed by #461
Closed

Missing check of presence of field #413

treiher opened this issue Aug 24, 2020 · 0 comments · Fixed by #461
Assignees
Labels
bug model Related to model package (e.g., model verification)

Comments

@treiher
Copy link
Collaborator

treiher commented Aug 24, 2020

It shouldn't be allowed to reference fields in a condition which are potentially not present.

package Test is

   type M is
      message
         A : Boolean
            then B
               if A = True
            then C
               if A = False;
         B : Boolean;
         C : Boolean
            then null
               if B = False;
      end message;

end Test;
@treiher treiher added bug model Related to model package (e.g., model verification) labels Aug 24, 2020
@treiher treiher added this to To do in RecordFlux 0.5 via automation Aug 24, 2020
@treiher treiher self-assigned this Oct 7, 2020
@treiher treiher moved this from To do to Done in RecordFlux 0.5 Oct 7, 2020
RecordFlux 0.5 automation moved this from Done to Merged Oct 13, 2020
@treiher treiher mentioned this issue Aug 4, 2021
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug model Related to model package (e.g., model verification)
Projects
No open projects
RecordFlux 0.5
  
Merged
Development

Successfully merging a pull request may close this issue.

1 participant