Subject: bug#20644: closed (Re: bug#20644: 25.0.50; Re-evaluating cl-defmethod form doesn't update the behavior)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 25 May 2015 14:55:03 +0000

Your bug report

#20644: 25.0.50; Re-evaluating cl-defmethod form doesn't update the behavior

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
20644: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20644
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#20644: 25.0.50; Re-evaluating cl-defmethod form doesn't update the behavior
From: Stefan Monnier <[email-masked]>
To: Dmitry Gutov <[email-masked]>
Cc: [email-masked]
Date: Mon, 25 May 2015 10:54:29 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

> (cl-defgeneric cl--generic-1 (x y))
> (cl-defmethod cl--generic-1 ((x t) y) (cons x y))
> 2. (cl--generic-1 'a 'b) evaluates to '(a . b).
> 3. Change the defmethod form to return 1, press C-M-x.
> 4. (cl--generic-1 'a 'b) still evaluates to '(a . b).

Thanks.  Should be fixed now.

        Stefan

Subject: 25.0.50; Re-evaluating cl-defmethod form doesn't update the behavior
From: Dmitry Gutov <[email-masked]>
To: [email-masked]
Date: Sun, 24 May 2015 18:20:05 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

1. Evaluate:

(cl-defgeneric cl--generic-1 (x y))
(cl-defmethod cl--generic-1 ((x t) y) (cons x y))

2. (cl--generic-1 'a 'b) evaluates to '(a . b).

3. Change the defmethod form to return 1, press C-M-x.

4. (cl--generic-1 'a 'b) still evaluates to '(a . b).