unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* cl-loop's "with" destructuring-bind looks broken
@ 2014-04-20  5:36 Tomohiro Matsuyama
  2014-04-21  1:06 ` Daniel Colascione
  0 siblings, 1 reply; 3+ messages in thread
From: Tomohiro Matsuyama @ 2014-04-20  5:36 UTC (permalink / raw)
  To: emacs-devel

Hi,

I have faced an issue on 24.3.90.2 when using my extension that
includes an expression like:

    (cl-loop with (a b c) = '(1 2 3) return (+ a b c))

This expression causes an error:

    Attempt to set a constant symbol: nil

On a stable release, at least 24.3.1, it works fine and evalutes to 6.

ANSI Common Lisp allows such destructuring-bind with "with" clause, by
the way.

Regards,
Tomohiro



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-04-21 21:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-20  5:36 cl-loop's "with" destructuring-bind looks broken Tomohiro Matsuyama
2014-04-21  1:06 ` Daniel Colascione
2014-04-21 21:18   ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).