GNU bug report logs - #19620
25.0.50; Eieio constructor behaviour changed and broke pcache.el

Previous Next

Package: emacs;

Reported by: Kirill Ignatiev <kirill.ignatiev <at> gmail.com>

Date: Sat, 17 Jan 2015 04:57:02 UTC

Severity: normal

Tags: fixed

Found in version 25.0.50

Fixed in version 25.1

Done: Noam Postavsky <npostavs <at> users.sourceforge.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Kirill Ignatiev <kirill.ignatiev <at> gmail.com>
To: 19620 <at> debbugs.gnu.org
Subject: bug#19620: 25.0.50; Eieio constructor behaviour changed and broke pcache.el
Date: Fri, 16 Jan 2015 23:56:05 -0500
The following code (essentially taken from pcache.el) used to work
fine until recently (worked fine in 24.4 and in some recent git head),
but gives a wrong-number-of-arguments error in current git head:

(require 'eieio)
(require 'eieio-generic)

(defclass testing ()
  ())

(defmethod constructor :static ((x testing) newname &rest args)
  (message "Constructor")
  (call-next-method))

(testing "test")

I haven't really used eieio, so I can't be sure what went wrong. Emacs
used to accept this code and run this without errors, so I assume the
code is actually correct.




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

Previous Next


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