GNU bug report logs - #27718
26.0.50; (cl-typep instance-ab 'class-a) gives wrong answer when compiled

Previous Next

Package: emacs;

Reported by: npostavs <at> users.sourceforge.net

Date: Sat, 15 Jul 2017 21:50:01 UTC

Severity: normal

Tags: fixed, patch

Found in version 26.0.50

Fixed in version 26.1

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

Full log


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

From: npostavs <at> users.sourceforge.net
To: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
Cc: 27718 <at> debbugs.gnu.org, Alex <agrambot <at> gmail.com>
Subject: Re: bug#27718: 26.0.50;
 (cl-typep instance-ab 'class-a) gives wrong answer when compiled
Date: Mon, 07 Aug 2017 21:16:05 -0400
tags 27718 fixed
close 27718 26.1
quit

Stefan Monnier <monnier <at> IRO.UMontreal.CA> writes:

>>> Right, so we have 3 options, indeed:
>>> - `get` looks up to byte-compile-plist-environment
>>> - byte-compile manipulates `get`s overriding-plist-environment
>>> - provide a new get-like function.
>>> Either one is fine by me,
>> I'm thinking the 2nd looks best.  Is it correct to `put'
>> `byte-compile-define-symbol-prop' as the hunk handler for both
>> `define-symbol-prop' and `function-put'?
>
> I think so, yes.

Pushed to master.

[1: cc30d77ecd]: 2017-08-07 18:54:49 -0400
  Let `define-symbol-prop' take effect during compilation
  http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=cc30d77ecdd1b9155ade3d0656a84a0839ee2795

[2: b5c8e9898d]: 2017-08-07 18:54:49 -0400
  Let the cl-typep effects of defclass work during compilation (Bug#27718)
  http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=b5c8e9898d9dbd4145c40d08e8eef84a5e32008a




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

Previous Next


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