GNU bug report logs - #48133
28.0.50; [native-comp] time-to-days throws wrong-number-of-arguments error

Previous Next

Package: emacs;

Reported by: Ihor Radchenko <yantar92 <at> gmail.com>

Date: Sat, 1 May 2021 01:44:01 UTC

Severity: normal

Tags: fixed

Found in version 28.0.50

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #26 received at 48133 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Ihor Radchenko <yantar92 <at> gmail.com>
Cc: 48133 <at> debbugs.gnu.org
Subject: Re: bug#48133: 28.0.50; [native-comp] time-to-days throws
 wrong-number-of-arguments error
Date: Sun, 02 May 2021 09:18:47 +0200
Ihor Radchenko <yantar92 <at> gmail.com> writes:

> I just got the following error trying to run native-compiled time-to-days:
>
> Debugger entered--Lisp error: (wrong-number-of-arguments (lambda (&optional time) (funcall #<subr decode-time> (or time G167))) 3)
>   (decode-time (22352 22528) nil nil)
>   (time-to-days (22352 22528))
>
> Re-evaluating defun of time-to-days fixes the error.

I'm just taking a stab in the dark here -- but it's really odd that it
seems to say that the signature of `decode-time' is

(&optional time)

Is it possible that the test code is mocking/redefining `decode-time'
with the wrong signature, or something along those lines?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 4 years and 78 days ago.

Previous Next


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