bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#48133: 28.0.50; [native-comp] time-to-days throws wrong-number-of-ar


From: Lars Ingebrigtsen
Subject: 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
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Ihor Radchenko <yantar92@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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]