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

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

[debbugs-tracker] bug#24171: closed (25.1; Bytecode returns nil instead


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#24171: closed (25.1; Bytecode returns nil instead of expected closure)
Date: Tue, 09 Aug 2016 17:12:01 +0000

Your message dated Tue, 09 Aug 2016 13:05:31 -0400
with message-id <address@hidden>
and subject line Re: bug#24171: 25.1; Bytecode returns nil instead of expected 
closure
has caused the debbugs.gnu.org bug report #24171,
regarding 25.1; Bytecode returns nil instead of expected closure
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
24171: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=24171
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 25.1; Bytecode returns nil instead of expected closure Date: Sun, 07 Aug 2016 01:16:50 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)
Hello,

eval this defun:

(defun test ()
  (let ((my-cool-fun 'dummy))
    (let ((my-cool-fun
           (let ((calculate (lambda () 1)))
             (lambda () (setq my-cool-fun calculate))))
          (return-my-cool-fun (lambda () my-cool-fun)))
      (funcall my-cool-fun)
      (funcall return-my-cool-fun))))

(test) evals to a closure as expected.

Compile the defun and load it.  Then,

  (test) -> nil

which is wrong.

Found in

   https://lists.gnu.org/archive/html/help-gnu-emacs/2016-08/msg00038.html


Thanks,

Michael.



In GNU Emacs 25.1.1 (x86_64-pc-linux-gnu, GTK+ Version 3.20.6)
 of 2016-08-04 built on drachen
Repository revision: 72221f51439d666d54f5d147f00ecdbb3778ab1b
Windowing system distributor 'The X.Org Foundation', version 11.0.11804000
System Description:     Debian GNU/Linux testing (stretch)

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GSETTINGS NOTIFY
LIBXML2 FREETYPE XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11




--- End Message ---
--- Begin Message --- Subject: Re: bug#24171: 25.1; Bytecode returns nil instead of expected closure Date: Tue, 09 Aug 2016 13:05:31 -0400 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)
> Yes, this fixes the original problem.
> (https://lists.gnu.org/archive/html/help-gnu-emacs/2016-08/msg00038.html)
> The test is performed on master branch with patch applied.

Thanks, installed.


        Stefan


--- End Message ---

reply via email to

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