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: Sat, 22 Apr 2017 18:46:34 +0900
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Tino Calancha <address@hidden> writes:

> David Bremner <address@hidden> 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
Fixed by commit 89898e43c7ceef28bb3c2116b4d8a3ec96d9c8da





reply via email to

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