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

Preserving order of types and sessions in model #1076

Closed
treiher opened this issue Jun 16, 2022 · 1 comment
Closed

Preserving order of types and sessions in model #1076

treiher opened this issue Jun 16, 2022 · 1 comment
Labels
bug model Related to model package (e.g., model verification) small Effort of one person-day or less

Comments

@treiher
Copy link
Collaborator

treiher commented Jun 16, 2022

As Model stores types and session in two separate lists, the order of type declarations and session declarations is lost when parsing a specification. Consequently, the specification generated from a model will not be equal to the original specification, if types are declared after a session, or types and sessions are mixed. One option would be changing the model, another prohibiting the declaration of types after a session declaration.

@treiher treiher added bug model Related to model package (e.g., model verification) labels Jun 16, 2022
@senier senier added the small Effort of one person-day or less label Oct 4, 2022
@treiher
Copy link
Collaborator Author

treiher commented May 24, 2023

The issue is fixed in RecordFlux 0.10.0.

@treiher treiher closed this as completed May 24, 2023
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) small Effort of one person-day or less
Projects
None yet
Development

No branches or pull requests

2 participants