From: Lars Ingebrigtsen <larsi@gnus.org>
To: Ihor Radchenko <yantar92@gmail.com>
Cc: 48133@debbugs.gnu.org
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 [thread overview]
Message-ID: <877dkhli20.fsf@gnus.org> (raw)
In-Reply-To: <875z03mdhk.fsf@localhost> (Ihor Radchenko's message of "Sat, 01 May 2021 09:47:35 +0800")
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
next prev parent reply other threads:[~2021-05-02 7:18 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-01 1:47 bug#48133: 28.0.50; [native-comp] time-to-days throws wrong-number-of-arguments error Ihor Radchenko
2021-05-01 6:33 ` Eli Zaretskii
2021-05-01 7:11 ` Ihor Radchenko
2021-05-01 7:54 ` Eli Zaretskii
2021-05-01 8:22 ` Ihor Radchenko
2021-05-01 8:27 ` Eli Zaretskii
2021-05-01 19:35 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-05-02 7:18 ` Lars Ingebrigtsen [this message]
2021-05-02 7:43 ` Ihor Radchenko
2021-05-02 8:01 ` Lars Ingebrigtsen
2021-05-02 8:28 ` Ihor Radchenko
2021-05-02 8:27 ` Lars Ingebrigtsen
2021-05-02 8:40 ` Ihor Radchenko
2021-05-02 8:43 ` Lars Ingebrigtsen
2021-05-02 13:06 ` Ihor Radchenko
2021-05-02 13:04 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877dkhli20.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=48133@debbugs.gnu.org \
--cc=yantar92@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.