This PR adds a validation for the ranges of arrays, in which the start values must be less than the end values. For example something like ... ARRAY[1..-5] OF ... is invalid because -5 < 1. Previously this would either panic (debug mode) or generate huge arrays (release mode) due to overflows.
This PR adds a validation for the ranges of arrays, in which the start values must be less than the end values. For example something like
... ARRAY[1..-5] OF ...
is invalid because-5
<1
. Previously this would either panic (debug mode) or generate huge arrays (release mode) due to overflows.