Subject: Re: bug#55355: TBD: inappropriate inlining, cmacro errors

From: Lars Ingebrigtsen <[email-masked]>
Date: Wed, 11 May 2022 14:10:44 +0200

(What does "TBD" mean here?  To be decided?)

Ivan Sokolov <[email-masked]> 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