RecordFlux icon indicating copy to clipboard operation
RecordFlux copied to clipboard

Verification of sequence field size

Open treiher opened this issue 4 years ago • 0 comments

The size of a sequence field must be a multiple of 8 bit. The following specification should not be accepted:

package Test is

   type T is mod 2 ** 8;

   type A is sequence of T;

   type M is
      message
         A : A
            with Size => 12;
      end message;

end Test;

treiher avatar Feb 26 '21 15:02 treiher