GNU bug report logs - #40188
check-declare-files does not include malformed declarations in the list

Previous Next

Package: emacs;

Reported by: Neil Okamoto <neil.okamoto <at> gmail.com>

Date: Mon, 23 Mar 2020 00:32:02 UTC

Severity: minor

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Neil Okamoto <neil.okamoto <at> gmail.com>
To: 40188 <at> debbugs.gnu.org
Subject: bug#40188: repro for Emacs 26.3 and 27.0.90
Date: Wed, 25 Mar 2020 15:19:44 -0700
[Message part 1 (text/plain, inline)]
;; repro for 40188:
;;      http://debbugs.gnu.org/cgi/bugreport.cgi?bug=40188

;; evaluate:
;;     (check-declare-file "test.el")
;; yields:
;;     (("../../tmp/check-declare/some-file.el"
;;       ("/tmp/check-declare/test.el" "bar" "file not found")))
;; 
;; which omits the second declare-function, which is malformed 

(declare-function bar "some-file.el")
(declare-function foo ‘malformed)
;; end of file


> On Mar 25, 2020, at 2:41 PM, Neil Okamoto <neil.okamoto <at> gmail.com> wrote:
> 
> I’ve confirmed this bug in 26.3 as well as a local build of 27.0.90.
> Here’s a simple repro. Save this in a file and run check-declare-file.
> 
> <test.el>
> 
> 

[Message part 2 (text/html, inline)]

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

Previous Next


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