unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#46918: 28.0.50; checkdoc fooled by qualified method
@ 2021-03-04 13:25 Mauro Aranda
  2021-03-04 13:27 ` Mauro Aranda
  0 siblings, 1 reply; 5+ messages in thread
From: Mauro Aranda @ 2021-03-04 13:25 UTC (permalink / raw)
  To: 46918

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.





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-03-04 20:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-04 13:25 bug#46918: 28.0.50; checkdoc fooled by qualified method Mauro Aranda
2021-03-04 13:27 ` Mauro Aranda
2021-03-04 13:31   ` Mauro Aranda
2021-03-04 20:18     ` Lars Ingebrigtsen
2021-03-04 20:35       ` Mauro Aranda

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).