I was trying to use null excluded arrays holding access types in Ada. Example:
type Integer_Access is access all Integer;
type MyArr is array (1 .. 2) of not null Integer_Access;
My compiler keeps warning me that a Costraint_Error may be thrown at runtime (only by declaring this type, without instantiation). Is declaring such an array illegal (or bad practice)?