Subject: bug#16153: 24.3.50; (gv-ref (car (cdr x))) => strange expression

From: Michael Heerdegen <[email-masked]>
Date: Sun, 15 Dec 2013 07:29:05 +0100

Hi,

Sorry if I speak nonsense, but that doesn't make sense to me:

(setq x '(1 (2 3) 4))

(setq ref (gv-ref (car (cdr x))))

  ==>
  
   ((lambda nil
     (car #1=#:v))
    lambda
    (gv--val)
    (setcar #1# gv--val))

(gv-deref ref)

Symbol's value as variable is void: #:v

Seems like `gv-letplace' is constructing an illegitimate expression with
a free variable here.

Regards,

Michael.

In GNU Emacs 24.3.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.8.4)
 of 2013-11-13 on drachen
Windowing system distributor `The X.Org Foundation', version 11.0.11403000
System Description:	Debian GNU/Linux testing (jessie)

Configured using:
 `configure --prefix=/usr/local/built/'

Important settings:
  value of $LC_ALL: de_DE.utf8
  value of $LC_COLLATE: C
  value of $LC_TIME: C
  value of $LANG: de_DE.utf8
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t