GNU bug report logs - #46918
28.0.50; checkdoc fooled by qualified method

Previous Next

Package: emacs;

Reported by: Mauro Aranda <maurooaranda <at> gmail.com>

Date: Thu, 4 Mar 2021 13:26:02 UTC

Severity: minor

Tags: patch

Found in version 28.0.50

Fixed in version 28.1

Done: Mauro Aranda <maurooaranda <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Mauro Aranda <maurooaranda <at> gmail.com>
To: 46918 <at> debbugs.gnu.org
Subject: bug#46918: 28.0.50; checkdoc fooled by qualified method
Date: Thu, 04 Mar 2021 10:25:27 -0300
Starting from emacs -Q:

1. Type the following in the *scratch* buffer
(cl-defmethod foo ((a (eql test)))
  "Return A."
  a)

(cl-defmethod foo :around ((a (eql test)))
  "Return A."
  a)

2. M-x checkdoc

3. See how checkdoc doesn't complain about the first method, but does
complain about the second method, with the following message:

Error message:
  All variables and subroutines might as well have a documentation string

which is wrong.




This bug report was last modified 4 years and 139 days ago.

Previous Next


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