Subject: bug#6878: bool-vectors of length 0 signal error when aref/aset the 0th element

From: Stefan Monnier <[email-masked]>
Date: Wed, 18 Aug 2010 09:36:55 +0200

> When aref/aset'ing the 0th element of a bool-vectors of length 0 i get
> an args-out-of-range error:

To have a 0th element, an array needs to be of length >= 1.
So this behavior seems perfectly correct to me.
An array of length N has elements 0..N-1, so an array of length
0 doesn't have any elements at all.  This should be true of strings,
vectors, and bool-vectors.

        Stefan