I have the following declaration of an anonymous subtype:
testConstraint : Integer Range -5 .. 5;
Then later, when assigning it:
testConstraint := -6;
Why am I not getting a Constraint_Error
?
Additional Details:
- There are no
pragma suppress
statements in the code file in question (though there are some in files added viawith
; - The build is done via
gprbuild
using GPS 5.0.2 and GNAT Pro 6.4.2 - There are the following flags used:
-gnatf -gnatp -gnat2012 -d
- It's also got flags coming in from "external" in the .gpr file - but I don't know where these are or what this means.