Jelte Fennema-Nio <me(at)jeltef(dot)nl> writes:
> Due to the way SubscriptingRef works there's no way for it to describe
> a subscript sequence that both does a slice and a regular index in the
> same SubscriptingRef.
Well, yeah, because they're fundamentally different operations.
A slice produces a value of the array type, a regular index
operation produces a value of the element type. So if you
mix the notations we assume you really meant slicing in each
subscript.
regards, tom lane