GNU bug report logs - #31792
27.0.50; Regression in #'labels, recent versions

Previous Next

Package: emacs;

Reported by: Aidan Kehoe <kehoea <at> parhasard.net>

Date: Mon, 11 Jun 2018 23:12:01 UTC

Severity: normal

Tags: fixed, patch

Found in versions 27.0.50, 25.3

Fixed in version 26.2

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Noam Postavsky <npostavs <at> gmail.com>
To: Aidan Kehoe <kehoea <at> parhasard.net>
Cc: 31792 <at> debbugs.gnu.org
Subject: bug#31792: 27.0.50; Regression in #'labels, recent versions
Date: Mon, 11 Jun 2018 19:31:39 -0400
found 31792 25.3
quit

Aidan Kehoe <kehoea <at> parhasard.net> writes:

> When I do the same in the emacs 22.1.1 that Apple built and shipped with
> my OS, I get a compiled function object, as is much closer to being the
> correct behaviour.

Seems to have regressed in Emacs 25, cl-labels still works correctly.
Here's a smaller reproducer:

(labels ((foo () t))
  #'foo) ;=> foo

(cl-labels ((foo () t))
  #'foo) ;=> (lambda nil t)




This bug report was last modified 7 years and 30 days ago.

Previous Next


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