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

Field of merged message cannot be referenced in outer condition #389

Closed
senier opened this issue Aug 7, 2020 · 0 comments · Fixed by #392
Closed

Field of merged message cannot be referenced in outer condition #389

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

Comments

@senier
Copy link
Member

senier commented Aug 7, 2020

package Test is
   type Count is mod 2**32;
   type M1 is
      message
         F1 : Count;
      end message;
   type M2 is
      message
         F2 : M1
            then null if F2_F1 > 42;
      end message;
end Test;
$ rflx check test.rflx 
Parsing test.rflx
Processing Test
test.rflx:10:26: model: error: undefined variable "F2_F1" referenced
@senier senier created this issue from a note in RecordFlux 0.5 (To do) Aug 7, 2020
@senier senier added the bug label Aug 7, 2020
@treiher treiher added the model Related to model package (e.g., model verification) label Aug 7, 2020
@treiher treiher moved this from To do to In progress in RecordFlux 0.5 Aug 10, 2020
@treiher treiher self-assigned this Aug 10, 2020
treiher added a commit that referenced this issue Aug 10, 2020
@treiher treiher moved this from In progress to Ready in RecordFlux 0.5 Aug 10, 2020
treiher added a commit that referenced this issue Aug 10, 2020
RecordFlux 0.5 automation moved this from Ready to Merged Aug 10, 2020
treiher added a commit that referenced this issue Aug 10, 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.

2 participants