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

Undetected invalid comparison with type name #686

Closed
treiher opened this issue Jul 2, 2021 · 0 comments · Fixed by #1199
Closed

Undetected invalid comparison with type name #686

treiher opened this issue Jul 2, 2021 · 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 Jul 2, 2021

The use of a qualified type name in an expression should be detected as error. Currently, the following message specification is erroneously considered valid:

package Test is

   type T is mod 2 ** 8;

   type M is
      message
         A : T
            then null
               if A = Test::T;  --  Invalid
      end message;

end Test;
@treiher treiher added bug model Related to model package (e.g., model verification) labels Jul 2, 2021
@treiher treiher added this to To do in RecordFlux 0.7 via automation Jul 2, 2021
@senier senier removed this from To do in RecordFlux 0.7 Aug 23, 2022
@senier senier added this to To do in RecordFlux Future via automation Aug 23, 2022
@senier senier added the small Effort of one person-day or less label Aug 25, 2022
@senier senier removed this from Medium in RecordFlux Future Aug 30, 2022
@senier senier added this to To do in RecordFlux 0.7 via automation Aug 30, 2022
@treiher treiher moved this from To do to Implementation in RecordFlux 0.7 Sep 21, 2022
@treiher treiher self-assigned this 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.

2 participants