~sircmpwn/hare-specification unlisted

577eaff1795aafa26f0f8e6694122f3de44d3537 — Drew DeVault a month ago c59e3e2
Fix capacity of slice expression result

Signed-off-by: Drew DeVault <sir@cmpwn.com>
1 files changed, 2 insertions(+), 2 deletions(-)

M language/expressions.tex
M language/expressions.tex => language/expressions.tex +2 -2
@@ 820,8 820,8 @@ of an array type, the address of the array; or in the case of a slice type, the
size of the slice or array's secondary type.

The resulting slice value shall have its \code{length} and \code{capacity}
fields set to $H - L$.
The resulting slice value shall have its \code{length} field set to $H - L$,
and its capacity field set to the \code{length} of the source object minus $L$.

The secondary type of the resulting slice type shall be equivalent to the