"Range must be bounded by constant expression" - Error from a constraint block

In reply to naveensv:

The ‘+:’ is meant to be used when slicing a vector, not when specifying a range. The inside operator takes a range as an input, not a slice.