Subject: Re: bug#12299: 24.1; no byte compiler warning for inline function call with too few arguments

From: Lars Ingebrigtsen <[email-masked]>
Date: Thu, 15 Jul 2021 22:29:51 +0200

"Roland Winkler" <[email-masked]> writes:

> cat > foo.el << EOF
> (defsubst foo (a b))
> (foo t)
> EOF
>
> Byte-compile the above file. The Emacs 24.1 byte compiler does not
> complain that the inline function foo is called with too few arguments.

This is still the case in Emacs 28, which is pretty surprising.  (Both
when doing dynamic and lexical compilation.)

I've added Stefan to the CCs -- perhaps he has some comments here.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no