purcell / package-lint

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

Wrong use of `cl-ecase` #235

Closed usaoc closed 2 years ago

usaoc commented 2 years 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.