harn-parser 0.10.50

Parser, AST, and type checker for the Harn programming language
Documentation
1
2
3
4
5
6
7
8
# HARN-TYP-027 — constant tuple index is outside the fixed arity

A `tuple<T0, ...>` has a statically known number of positions. A constant
subscript must name one of those positions, including Harn's negative-index
spelling (`-1` is the final position).

Use an in-bounds index, destructure the tuple, or widen it to a `list<T>` when
the collection is intentionally variable-length.