GNU bug report logs - #24171
25.1; Bytecode returns nil instead of expected closure

Previous Next

Package: emacs;

Reported by: Michael Heerdegen <michael_heerdegen <at> web.de>

Date: Sat, 6 Aug 2016 23:23:02 UTC

Severity: normal

Found in version 25.1

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


Message #29 received at 24171 <at> debbugs.gnu.org (full text, mbox):

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 24171 <at> debbugs.gnu.org, Alex Vong <alexvong1995 <at> gmail.com>
Subject: Re: bug#24171: 25.1; Bytecode returns nil instead of expected closure
Date: Tue, 09 Aug 2016 05:26:27 +0200
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:

> IOW I intend to install it into master.

master sounds good to me.

But wait, what's this:

(defun test ()
  (let ((x 1))
    (let ((x 2)
          (f (function (lambda (y) (/ y x)))))
      (funcall f x))))

(test) => 2

compile...

(test) ==> 1 ?


Thanks,

Michael.




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

Previous Next


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