all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tino Calancha <tino.calancha@gmail.com>
To: David Bremner <david@tethera.net>
Cc: 26406@debbugs.gnu.org, Stefan Monnier <monnier@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	[thread overview]
Message-ID: <87lgrat12p.fsf@calancha-pc> (raw)
In-Reply-To: <871st2vo4k.fsf@zancas> (David Bremner's message of "Sat, 08 Apr 2017 13:51:39 -0300")

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





  parent reply	other threads:[~2017-04-09  8:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-08 16:51 bug#26406: 26.0.50; 'function' fails as variable name inside lexical-let David Bremner
     [not found] ` <handler.26406.B.149167032721432.ack@debbugs.gnu.org>
2017-04-08 17:13   ` bug#26406: Acknowledgement (26.0.50; 'function' fails as variable name inside lexical-let) David Bremner
2017-04-09  8:52 ` Tino Calancha [this message]
2017-04-22  9:46   ` bug#26406: 26.0.50; 'function' fails as variable name inside lexical-let Tino Calancha

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lgrat12p.fsf@calancha-pc \
    --to=tino.calancha@gmail.com \
    --cc=26406@debbugs.gnu.org \
    --cc=david@tethera.net \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.