GNU bug report logs - #77464
X is already defined as something else than a generic function

Previous Next

Package: emacs;

Reported by: Jonas Bernoulli <jonas <at> bernoul.li>

Date: Wed, 2 Apr 2025 16:01:01 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Jonas Bernoulli <jonas <at> bernoul.li>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 77464 <at> debbugs.gnu.org
Subject: bug#77464: X is already defined as something else than a generic function
Date: Sun, 13 Apr 2025 12:51:35 -0400
Hi Jonas,

>> Now that I have finally done that, I also managed to come of with a
>> reproducer.
>> 
>> 1. Create a file "demo.el" with contents:
>> 
>> (require 'eieio)
>> (defclass demo-class () ())
>> (cl-defmethod demo-function ((obj demo-class)) obj)
>> 
>> (error "something else goes wrong here")
>> (provide 'demo)

I pushed to `master` what I think should fix this problem.
Can you try again?


        Stefan





This bug report was last modified 61 days ago.

Previous Next


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