[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#20420: 25.0.50; eieio methods with optional arguments now fail
From: |
Vitalie Spinu |
Subject: |
bug#20420: 25.0.50; eieio methods with optional arguments now fail |
Date: |
Fri, 24 Apr 2015 21:28:12 +0200 |
Hi.
First declare:
(defclass cc-A ()
((a :initform "foo")))
(defgeneric xx (&optional a b))
(defmethod xx ()
(message "default"))
And eval (xx). It works as expected.
Now add
(defmethod xx ((obj cc-A) &optional b)
(message "called on cc-A object"))
and eval (xx) again. It throws (wrong-number-of-arguments (1 . &rest) 0).
It used to work in emacs 24.
Thanks,
Vitalie
In GNU Emacs 25.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.12.2)
of 2015-04-13 on galago
Repository revision: 30bcb238c3a53f777c2a4952f51a68df6272cff4
Windowing system distributor `The X.Org Foundation', version 11.0.11600000
System Description: Ubuntu 14.10
Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS
NOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
Important settings:
value of $LC_TIME: en_DK.UTF-8
value of $LANG: en_DK.UTF-8
locale-coding-system: utf-8-unix
- bug#20420: 25.0.50; eieio methods with optional arguments now fail,
Vitalie Spinu <=
- bug#20420: 25.0.50; eieio methods with optional arguments now fail, Stefan Monnier, 2015/04/24
- bug#20420: 25.0.50; eieio methods with optional arguments now fail, Vitalie Spinu, 2015/04/24
- bug#20420: 25.0.50; eieio methods with optional arguments now fail, Stefan Monnier, 2015/04/25
- bug#20420: 25.0.50; eieio methods with optional arguments now fail, Vitalie Spinu, 2015/04/25
- bug#20420: 25.0.50; eieio methods with optional arguments now fail, Stefan Monnier, 2015/04/26
- bug#20420: 25.0.50; eieio methods with optional arguments now fail, Vitalie Spinu, 2015/04/26
- bug#20420: 25.0.50; eieio methods with optional arguments now fail, Stefan Monnier, 2015/04/27