purcell / package-lint

A linting library for elisp package metadata
GNU General Public License v3.0
192 stars 33 forks source link

Wrong use of `cl-ecase` #235

Closed usaoc closed 1 year ago

usaoc commented 1 year ago

cl-ecase in package-lint--check-version-regexp-list is used wrongly, which triggers a byte-compilation warning after emacs-mirror/emacs@fffa53f. cl-(e)case recognizes either a list of keys or a single key as the head of each clause, which means 'SYMBOL is considered a list of two keys quote and SYMBOL.