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

Detecting invalid message with two field sizes defined by message size #489

Closed
treiher opened this issue Nov 4, 2020 · 2 comments · Fixed by #889
Closed

Detecting invalid message with two field sizes defined by message size #489

treiher opened this issue Nov 4, 2020 · 2 comments · Fixed by #889
Assignees
Labels
bug model Related to model package (e.g., model verification)

Comments

@treiher
Copy link
Collaborator

treiher commented Nov 4, 2020

A message specification where two field sizes are defined by the message size should not be accepted as valid.

package Test is

   type M is
      message
         A : Opaque
            with Size => Message'Size;
         B : Opaque
            with Size => Message'Size - A'Size;
      end message;

end Test;
@treiher treiher added bug model Related to model package (e.g., model verification) labels Nov 4, 2020
@treiher treiher added this to To do in RecordFlux 0.5 via automation Nov 4, 2020
@treiher
Copy link
Collaborator Author

treiher commented Jan 21, 2021

This will be prevented by #555.

@treiher treiher removed this from To do in RecordFlux 0.5 Jan 21, 2021
@treiher treiher added this to To do in RecordFlux 0.7 via automation Jan 21, 2021
@treiher
Copy link
Collaborator Author

treiher commented Oct 11, 2021

The issue will be obsolete after realization of #736, as the use of Message'Size in size aspects will be prohibited.

@treiher treiher removed this from To do in RecordFlux 0.7 Oct 11, 2021
@treiher treiher added this to To do in RecordFlux 0.6 via automation Oct 11, 2021
@treiher treiher moved this from To do to Implementation in RecordFlux 0.6 Dec 14, 2021
@treiher treiher self-assigned this Dec 14, 2021
treiher added a commit that referenced this issue Dec 14, 2021
treiher added a commit that referenced this issue Dec 16, 2021
treiher added a commit that referenced this issue Dec 17, 2021
treiher added a commit that referenced this issue Dec 20, 2021
treiher added a commit that referenced this issue Dec 21, 2021
treiher added a commit that referenced this issue Dec 21, 2021
@senier senier moved this from Implementation to Review in RecordFlux 0.6 Dec 21, 2021
RecordFlux 0.6 automation moved this from Review to Done Jan 3, 2022
treiher added a commit that referenced this issue Jan 3, 2022
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
1 participant