GNU bug report logs - #12299
24.1; no byte compiler warning for inline function call with too few arguments

Previous Next

Package: emacs;

Reported by: "Roland Winkler" <winkler <at> gnu.org>

Date: Wed, 29 Aug 2012 02:16:02 UTC

Severity: normal

Tags: confirmed

Found in version 24.1

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Mattias Engdegård <mattiase <at> acm.org>
Cc: 12299 <at> debbugs.gnu.org, Lars Ingebrigtsen <larsi <at> gnus.org>, Roland Winkler <winkler <at> gnu.org>
Subject: bug#12299: 24.1; no byte compiler warning for inline function call with too few arguments [PATCH]
Date: Fri, 23 Jul 2021 12:21:28 -0400
>> IOW I think we want that `byte-compile--check-arity-bytecode` call to be
>> elsewhere (in the code that actually compiles the code constructed by
>> `(,fn ,@(cdr form))).
> Tried that first, but then we no longer have the function name so the user sees
>  Warning: ‹bytecode gibberish› called with 1 argument but requires 2

Ah, right, makes sense, thanks,


        Stefan





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

Previous Next


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