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

Prefixed enumeration literals not correctly handled in proofs #351

Closed
treiher opened this issue Jul 17, 2020 · 0 comments · Fixed by #360
Closed

Prefixed enumeration literals not correctly handled in proofs #351

treiher opened this issue Jul 17, 2020 · 0 comments · Fixed by #360
Assignees
Labels
bug model Related to model package (e.g., model verification)

Comments

@treiher
Copy link
Collaborator

treiher commented Jul 17, 2020

Example

   type Message is
      message
         Tag    : Tag
            then Length
               if Tag = TLV.Msg_Data,
            then null
               if Tag = TLV.Msg_Error;
         Length : Length
            then Value
               with Length => Length * 8;
         Value  : Opaque;
       end message;
specs/tlv.rflx:8:10: model: error: conflicting conditions for field "Tag"
specs/tlv.rflx:10:19: model: info: condition 0 (Tag -> Length): Tag = TLV.Msg_Data
specs/tlv.rflx:12:19: model: info: condition 1 (Tag -> Final): Tag = TLV.Msg_Error
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
None yet
Development

Successfully merging a pull request may close this issue.

1 participant