bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#26406: 26.0.50; 'function' fails as variable name inside lexical-let


From: Tino Calancha
Subject: bug#26406: 26.0.50; 'function' fails as variable name inside lexical-let
Date: Sun, 09 Apr 2017 17:52:30 +0900
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

David Bremner <david@tethera.net> writes:

> 0) Put the following elisp in a file called e.g. test.el
> (eval-when-compile (require 'cl))
> (defun my-fun (function)
>   (lexical-let ((x 1))
>     (funcall function)))
>
> 1) run "emacs -Q --batch -f batch-byte-compile test.el"
>
> 2) Observe the following unhelpful error message
>
> In toplevel form:
> test.el:2:1:Error: Wrong type argument: listp, cl--function-convert
Confirmed.
This is similar as Bug#26325.  Both are caused by commit
0d112c00ba0ec14bd3014efcd3430b9ddcfe1fc1





reply via email to

[Prev in Thread] Current Thread [Next in Thread]