GNU bug report logs -
#37034
26.2.90; checkdoc doesn't support cl-defgeneric, cl-defmethod and cl-defun
Previous Next
Reported by: Damien Cassou <damien <at> cassou.me>
Date: Thu, 15 Aug 2019 07:39:01 UTC
Severity: normal
Tags: fixed, patch
Found in version 26.2.90
Fixed in version 27.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Hi Alex,
Alex Branham <alex.branham <at> gmail.com> writes:
> tags 37034 + patch
thank you for your patch. Nevertheless, it's not going to be enough. For
example, CL methods can have this signature:
(cl-defmethod navigel-children ((entities list) callback)
"Execute CALLBACK with the children of ENTITIES as argument."
(navigel-async-mapcar entities #'navigel-children callback))
But this crashes checkdoc+patch because it expects each element of the
parameter list to be a symbol which (entities list) is not.
Also, CL methods accept &key and &context to specify parameters. Those
should be taken care of by checkdoc in one way or another.
--
Damien Cassou
http://damiencassou.seasidehosting.st
"Success is the ability to go from one failure to another without
losing enthusiasm." --Winston Churchill
This bug report was last modified 5 years and 273 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.