Earlier quoted context omitted.
That is an ugly hack, mainly because it was not in the original language design.
Why ugly? It looks similar to what I know in the Pascal family, where indexes can be ranges or enumerations.
Generally, I don't think there is a good way to achieve flexible indexing without causing troubles somewhere, so I don't think Julia has really solved the problem.