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

Compilation fails due to range integer using full value range #314

Closed
treiher opened this issue Jul 1, 2020 · 0 comments · Fixed by #318
Closed

Compilation fails due to range integer using full value range #314

treiher opened this issue Jul 1, 2020 · 0 comments · Fixed by #318
Assignees
Labels
bug generator Related to generator package (SPARK code generation)

Comments

@treiher
Copy link
Collaborator

treiher commented Jul 1, 2020

package Test is

     type A is range 0 .. 1 with Size => 1;

end Test;
rflx-test.ads:33:20: warning: formal parameter "Val" is not referenced [-gnatwu]

   compilation of rflx-test.ads failed
 33    function Valid (Val : RFLX.Test.A_Base) return Boolean is
 34      (True);
@treiher treiher added bug generator Related to generator package (SPARK code generation) labels Jul 1, 2020
@treiher treiher self-assigned this Jul 1, 2020
@treiher treiher added this to To do in RecordFlux 0.4.1 via automation Jul 1, 2020
@treiher treiher moved this from To do to In progress in RecordFlux 0.4.1 Jul 1, 2020
@treiher treiher mentioned this issue Jul 1, 2020
26 tasks
RecordFlux 0.4.1 automation moved this from In progress to Done Jul 3, 2020
@treiher treiher mentioned this issue Jul 14, 2020
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug generator Related to generator package (SPARK code generation)
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

1 participant