unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Ivan Sokolov <ivan-p-sokolov@ya.ru>
Cc: 55355@debbugs.gnu.org, Stefan Monnier <monnier@iro.umontreal.ca>
Subject: bug#55355: TBD: inappropriate inlining, cmacro errors
Date: Wed, 11 May 2022 14:10:44 +0200	[thread overview]
Message-ID: <87a6bob77f.fsf@gnus.org> (raw)
In-Reply-To: <87h75xnghe.fsf@ya.ru> (Ivan Sokolov's message of "Wed, 11 May 2022 01:57:17 +0300")

(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





  reply	other threads:[~2022-05-11 12:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-10 22:57 bug#55355: TBD: inappropriate inlining, cmacro errors Ivan Sokolov
2022-05-11 12:10 ` Lars Ingebrigtsen [this message]
2022-05-11 18:20   ` Ivan Sokolov
2022-05-11 18:42     ` Eli Zaretskii
2022-05-11 20:22   ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a6bob77f.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=55355@debbugs.gnu.org \
    --cc=ivan-p-sokolov@ya.ru \
    --cc=monnier@iro.umontreal.ca \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).