bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#44014: 28.0.50; Incorrect compilter warning that function is called


From: Lars Ingebrigtsen
Subject: bug#44014: 28.0.50; Incorrect compilter warning that function is called with 2 arguments
Date: Thu, 15 Oct 2020 18:34:10 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Jean Louis <bugs@gnu.support> writes:

> Thanks. Compiler warning shows different line number, is that normal?

Here's a minimal case to reproduce the bug:

(defun bar (a)
  a)

(defun foo ()
  (bar 1)
  (bar 1 2)
  (bar 1))

It'll say that the error is on the final call to bar, not the preceding
line.  If I remove the first call to bar, then it puts the error on the
correct line.

Anybody know what could be causing this bug?

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]