[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#55355: TBD: inappropriate inlining, cmacro errors
From: |
Lars Ingebrigtsen |
Subject: |
bug#55355: TBD: inappropriate inlining, cmacro errors |
Date: |
Wed, 11 May 2022 14:10:44 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
(What does "TBD" mean here? To be decided?)
Ivan Sokolov <ivan-p-sokolov@ya.ru> writes:
> Hi all! I encountered inlining errors, unfortunately I have no idea what
> is causing them.
>
> Here is the code:
>
> (cl-defstruct (foo (:constructor foo<-list ((bar _ baz))))
> bar
> baz)
>
> (foo<-list '(1 2 3)) ; does not work
>
> (funcall #'foo<-list '(1 2 3)) ; does not work
>
> (apply #'foo<-list '(1 2 3) nil) ; does work
>
> Here is the backtrace:
>
> Debugger entered--Lisp error: (wrong-number-of-arguments foo<-list--cmacro 2)
> signal(wrong-number-of-arguments (foo<-list--cmacro 2))
Perhaps Stefan has some comments; added to the CCs.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no