unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#19670: 24.4; pcase-let bug?
@ 2015-01-24  2:42 Leo Liu
  2015-01-24  5:07 ` Stefan Monnier
  0 siblings, 1 reply; 4+ messages in thread
From: Leo Liu @ 2015-01-24  2:42 UTC (permalink / raw)
  To: 19670


Eval the following two expressions:

1.
(pcase-let ((`(,x) '(1 2 3)))
  (list x))

2.
(pcase '(1 2 3)
  (`(,x) (list x)))

1 produces (1) and 2 nil. Bug?

Leo





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

end of thread, other threads:[~2015-01-26 22:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-24  2:42 bug#19670: 24.4; pcase-let bug? Leo Liu
2015-01-24  5:07 ` Stefan Monnier
2015-01-26 14:27   ` Leo Liu
2015-01-26 22:59     ` 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).