-
Notifications
You must be signed in to change notification settings - Fork 8
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
Unqualified enum literal from different package undetected #530
Comments
senier
added
bug
generator
Related to generator package (SPARK code generation)
specification
Related to specification package (e.g., specification parsing)
labels
Dec 29, 2020
senier
pushed a commit
to Componolit/RecordFlux-specifications
that referenced
this issue
Dec 29, 2020
External protocol numbers break compilation: AdaCore/RecordFlux#530
senier
pushed a commit
to Componolit/RecordFlux-specifications
that referenced
this issue
Dec 30, 2020
External protocol numbers break compilation: AdaCore/RecordFlux#530
treiher
added
model
Related to model package (e.g., model verification)
and removed
specification
Related to specification package (e.g., specification parsing)
labels
Jan 6, 2021
treiher
added a commit
that referenced
this issue
Jan 6, 2021
treiher
added a commit
that referenced
this issue
Jan 6, 2021
treiher
added a commit
that referenced
this issue
Jan 6, 2021
treiher
added a commit
that referenced
this issue
Jan 6, 2021
treiher
added a commit
that referenced
this issue
Jan 11, 2021
treiher
added a commit
that referenced
this issue
Jan 11, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When using an unqualified enumeration literal in the condition of a refinement and the respective enumeration is specified in a separate package, the refinement is accepted as correct, but the generated SPARK code does not compile. Example:
Importing the
Numbers
package and prefixing the literal withNumbers::
yieldsThe unprefixed literal should be reject in the spec and the SPARK package containing the definition should be withed in the generated code.
The text was updated successfully, but these errors were encountered: