GNU bug report logs - #67587
30.0.50; function defined by cl-defmethod returns nil instead of fixed str

Previous Next

Package: emacs;

Reported by: Vonfry <emacs <at> vonfry.name>

Date: Sat, 2 Dec 2023 18:28:02 UTC

Severity: normal

Found in version 30.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 67587 <at> debbugs.gnu.org, emacs <at> vonfry.name
Subject: bug#67587: 30.0.50; function defined by cl-defmethod returns nil instead of fixed str
Date: Sat, 09 Dec 2023 21:16:06 +0200
> From: Stefan Monnier <monnier <at> iro.umontreal.ca>
> Cc: Vonfry <emacs <at> vonfry.name>,  67587 <at> debbugs.gnu.org
> Date: Sat, 09 Dec 2023 14:05:04 -0500
> 
> >> Date: Sat, 02 Dec 2023 19:37:15 +0800
> >> From:  Vonfry via "Bug reports for GNU Emacs,
> >>  the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
> >> 
> >> 
> >>     (cl-defmethod foo ((_e (eql foo))) "docstr" "result str")
> >>     (foo 'foo)
> >> 
> >>     In Emacs 29, it returns "result str", but nil in Emacs 30.
> >
> > Adding Stefan, in case he has some comments or suggestions.
> 
> I suspect this is bug#67568, we which already fixed.

OK, then the OP should try the latest master branch and see if the
problem is resolved.




This bug report was last modified 1 year and 247 days ago.

Previous Next


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