GNU bug report logs - #26406
26.0.50; 'function' fails as variable name inside lexical-let

Previous Next

Package: emacs;

Reported by: David Bremner <david <at> tethera.net>

Date: Sat, 8 Apr 2017 16:53:02 UTC

Severity: normal

Merged with 26325

Found in version 26.0.50

Done: Tino Calancha <tino.calancha <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Tino Calancha <tino.calancha <at> gmail.com>
To: David Bremner <david <at> tethera.net>
Cc: 26406 <at> debbugs.gnu.org, Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: bug#26406: 26.0.50; 'function' fails as variable name inside lexical-let
Date: Sun, 09 Apr 2017 17:52:30 +0900
David Bremner <david <at> 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




This bug report was last modified 8 years and 36 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.