[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master 1f5b4ed: * test/lisp/emacs-lisp/cl-lib-tests.el (cl-lib-symbo
From: |
Stefan Monnier |
Subject: |
Re: master 1f5b4ed: * test/lisp/emacs-lisp/cl-lib-tests.el (cl-lib-symbol-macrolet): New test. |
Date: |
Fri, 31 Mar 2017 16:16:02 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
>> +(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
> "address@hidden@ \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