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

Invalid use of literals in expressions #1194

Closed
treiher opened this issue Sep 21, 2022 · 0 comments · Fixed by #1199
Closed

Invalid use of literals in expressions #1194

treiher opened this issue Sep 21, 2022 · 0 comments · Fixed by #1199
Assignees
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 Sep 21, 2022

The invalid use of literals in expressions leads to a bug box.

package Test is

   type T is (X, Y) with Size =>  8;

   type M is
      message
         A : T
            then null
               if X = Y + 1;  --  Invalid
      end message;

end Test;

This issue is related to #686. Both issues can be fixed by detecting invalidly used literals.

@treiher treiher added the bug label Sep 21, 2022
@treiher treiher self-assigned this Sep 21, 2022
@treiher treiher added this to To do in RecordFlux 0.7 via automation Sep 21, 2022
@treiher treiher added model Related to model package (e.g., model verification) small Effort of one person-day or less labels Sep 21, 2022
@treiher treiher moved this from To do to Implementation in RecordFlux 0.7 Sep 21, 2022
@treiher treiher moved this from Implementation to Review in RecordFlux 0.7 Sep 23, 2022
RecordFlux 0.7 automation moved this from Review to Done Sep 26, 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) small Effort of one person-day or less
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

1 participant