* Re: master 1f5b4ed: * test/lisp/emacs-lisp/cl-lib-tests.el (cl-lib-symbol-macrolet): New test. [not found] ` <20170331140530.9A009220BA@vcs0.savannah.gnu.org> @ 2017-03-31 19:58 ` Lars Brinkhoff 2017-03-31 20:16 ` Stefan Monnier 2017-04-01 13:03 ` Tino Calancha 0 siblings, 2 replies; 3+ messages in thread From: Lars Brinkhoff @ 2017-03-31 19:58 UTC (permalink / raw) To: emacs-devel Stefan Monnier wrote: > +(ert-deftest cl-lib-symbol-macrolet () > + (should (equal (cl-flet ((f (x) (+ x 5))) > + (let ((x 5)) > + (f (+ x 6)))) > + (cl-symbol-macrolet ((f (+ x 6))) > + (cl-flet ((f (x) (+ x 5))) > + (let ((x 5)) > + (f f))))))) I get errors from this: Eager macro-expansion failure: (wrong-type-argument listp #[128 "\211@=\203^L^@ \300\242D\207\302\300\242BB\207" [(--cl-f--)cl--labels-magic funcall] 4 " (fn &rest ARGS)"]) ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: master 1f5b4ed: * test/lisp/emacs-lisp/cl-lib-tests.el (cl-lib-symbol-macrolet): New test. 2017-03-31 19:58 ` master 1f5b4ed: * test/lisp/emacs-lisp/cl-lib-tests.el (cl-lib-symbol-macrolet): New test Lars Brinkhoff @ 2017-03-31 20:16 ` Stefan Monnier 2017-04-01 13:03 ` Tino Calancha 1 sibling, 0 replies; 3+ messages in thread From: Stefan Monnier @ 2017-03-31 20:16 UTC (permalink / raw) To: emacs-devel >> +(ert-deftest cl-lib-symbol-macrolet () >> + (should (equal (cl-flet ((f (x) (+ x 5))) >> + (let ((x 5)) >> + (f (+ x 6)))) >> + (cl-symbol-macrolet ((f (+ x 6))) >> + (cl-flet ((f (x) (+ x 5))) >> + (let ((x 5)) >> + (f f))))))) > I get errors from this: > Eager macro-expansion failure: (wrong-type-argument listp #[128 > "\211@=\203^L^@ \300\242D\207\302\300\242BB\207" > [(--cl-f--)cl--labels-magic funcall] 4 " (fn &rest ARGS)"]) Yes, it's a bug introduced recently (the test passes successfully in Emacs-25, AFAIK). Stefan ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: master 1f5b4ed: * test/lisp/emacs-lisp/cl-lib-tests.el (cl-lib-symbol-macrolet): New test. 2017-03-31 19:58 ` master 1f5b4ed: * test/lisp/emacs-lisp/cl-lib-tests.el (cl-lib-symbol-macrolet): New test Lars Brinkhoff 2017-03-31 20:16 ` Stefan Monnier @ 2017-04-01 13:03 ` Tino Calancha 1 sibling, 0 replies; 3+ messages in thread From: Tino Calancha @ 2017-04-01 13:03 UTC (permalink / raw) To: Lars Brinkhoff; +Cc: emacs-devel Lars Brinkhoff <lars@nocrew.org> writes: > Stefan Monnier wrote: >> +(ert-deftest cl-lib-symbol-macrolet () >> + (should (equal (cl-flet ((f (x) (+ x 5))) >> + (let ((x 5)) >> + (f (+ x 6)))) >> + (cl-symbol-macrolet ((f (+ x 6))) >> + (cl-flet ((f (x) (+ x 5))) >> + (let ((x 5)) >> + (f f))))))) > > I get errors from this: > > Eager macro-expansion failure: (wrong-type-argument listp #[128 > "\211@=\203^L^@ \300\242D\207\302\300\242BB\207" > [(--cl-f--)cl--labels-magic funcall] 4 " (fn &rest ARGS)"]) Commit 0d112c00ba0ec14bd3014efcd3430b9ddcfe1fc1 (Bug#26068) ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-04-01 13:03 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <20170331140529.9779.43185@vcs0.savannah.gnu.org> [not found] ` <20170331140530.9A009220BA@vcs0.savannah.gnu.org> 2017-03-31 19:58 ` master 1f5b4ed: * test/lisp/emacs-lisp/cl-lib-tests.el (cl-lib-symbol-macrolet): New test Lars Brinkhoff 2017-03-31 20:16 ` Stefan Monnier 2017-04-01 13:03 ` Tino Calancha
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).