GNU bug report logs - #55355
TBD: inappropriate inlining, cmacro errors

Previous Next

Package: emacs;

Reported by: Ivan Sokolov <ivan-p-sokolov <at> ya.ru>

Date: Tue, 10 May 2022 22:58:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Ivan Sokolov <ivan-p-sokolov <at> ya.ru>
Cc: 55355 <at> debbugs.gnu.org, Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: bug#55355: TBD: inappropriate inlining, cmacro errors
Date: Wed, 11 May 2022 14:10:44 +0200
(What does "TBD" mean here?  To be decided?)

Ivan Sokolov <ivan-p-sokolov <at> 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




This bug report was last modified 3 years and 37 days ago.

Previous Next


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