GNU bug report logs - #6878
bool-vectors of length 0 signal error when aref/aset the 0th element

Previous Next

Package: emacs;

Reported by: MON KEY <monkey <at> sandpframing.com>

Date: Wed, 18 Aug 2010 04:19:02 UTC

Severity: minor

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


Message #20 received at 6878 <at> debbugs.gnu.org (full text, mbox):

From: MON KEY <monkey <at> sandpframing.com>
To: 6878 <at> debbugs.gnu.org
Cc: Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: Re: bug#6878: bool-vectors of length 0 signal error when aref/aset
	the 0th element
Date: Thu, 19 Aug 2010 10:13:42 -0400
On Thu, Aug 19, 2010 at 4:42 AM, Andreas Schwab <schwab <at> linux-m68k.org> wrote:
>> ,---- (info "(elisp)Bool-Vector Type")
>> |
>> | "A "bool-vector" is a one-dimensional array of elements that must be `t'
>> | or `nil'."
>
> All elements of (make-bool-vector 0 t) are either t or nil.
>

Prove it!

Please provide one piece of code that explicitly allows accessing the
`t' at elt 0 and/or distinguishing whether the elt at idx 0 is either
`t' or `nil'.

I can't find a way to do it. Can you?

In the absence of a working example I think you have a bug on your hands.

> Andreas.

--
/s_P\




This bug report was last modified 14 years and 337 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.