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 element type of array #311

Closed
treiher opened this issue Jun 29, 2020 · 1 comment · Fixed by #323
Closed

Missing check of element type of array #311

treiher opened this issue Jun 29, 2020 · 1 comment · Fixed by #323
Assignees
Labels
bug model Related to model package (e.g., model verification)

Comments

@treiher
Copy link
Collaborator

treiher commented Jun 29, 2020

Arrays and Opaque should be not allowed as element type of an array.

package Test is

   type A is mod 2**8;

   type B is array of A;

   type C is array of B;  --  invalid

   type D is array of Opaque;  --  invalid

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

treiher commented Jun 30, 2020

Null messages should not be allowed either.

package Test is

    type A is null message;

    type B is array of A;  --  invalid

end Test;

@treiher treiher mentioned this issue Jul 1, 2020
26 tasks
@treiher treiher self-assigned this Jul 6, 2020
@treiher treiher moved this from To do to In progress in RecordFlux 0.4.1 Jul 6, 2020
treiher added a commit that referenced this issue Jul 6, 2020
RecordFlux 0.4.1 automation moved this from In progress to Done Jul 7, 2020
treiher added a commit that referenced this issue Jul 7, 2020
@treiher treiher mentioned this issue Jul 14, 2020
4 tasks
treiher added a commit that referenced this issue Jul 23, 2020
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
Development

Successfully merging a pull request may close this issue.

1 participant