GNU bug report logs - #31734
26.1; byte-compile differs with cond eq 'default

Previous Next

Package: emacs;

Reported by: Héctor Enríquez Ramón <hector.e.r <at> gmail.com>

Date: Wed, 6 Jun 2018 12:09:01 UTC

Severity: normal

Tags: patch

Merged with 28806, 31718

Found in version 26.1

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


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

From: Héctor Enríquez Ramón <hector.e.r <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 26.1; byte-compile differs with cond eq 'default
Date: Wed, 6 Jun 2018 12:38:51 +0200
[Message part 1 (text/plain, inline)]
Hi.

The code below shows opposite behavior byte-compiled:

(setq variable 0)
(cond
 ((eq variable 'default)
  (message "equal"))
 (t
  (message "not equal")))

Not byte-compiled output: not equal
Byte-compiled output: equal

Thank you very much.

Best regards. Hector
[Message part 2 (text/html, inline)]

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

Previous Next


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